gerberb2

My Xmission Network Setup

May 22nd, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Here is how my network is setup Stand-Alone DSL
  2.  
  3. | Internet
  4. |
  5. -----------------
  6. | DSL Modem |
  7. | 166.70.62.1 |
  8. -----------------
  9. |
  10. -----------------
  11. | switch |
  12. | all |----------- all 166.70.62.x/28 traffic
  13. |166.70.62.x/28 |
  14. -----------------
  15. |
  16. | nic1
  17. -----------------
  18. |166.70.62.2/28 |
  19. | openSUSE 15.1 |
  20. |198.60.105.2/24|
  21. -----------------
  22. |nic2
  23. |
  24. -----------------
  25. | switch |
  26. | all |
  27. |198.60.105.x/24|
  28. -----------------
  29. |
  30. ---------- all 198.60.105.x/24 traffic
  31. I need to forward all traffic intended for 198.60.105.x/24 coming from the internet DSL Modem 166.70.62.1 through my openSUSE 15.1 box coming in on 166.70.62.2
  32. my openSUSE box has IP forwarding enabled
  33. I am using ipnetworkup script I wrote http://pastebin.com/RgsFQSXJ
  34. I can't seem to create iptables that work.
Advertisement
Add Comment
Please, Sign In to add comment