Guest User

Untitled

a guest
Jul 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. /etc/network/interfaces
  2.  
  3. auto WRLDbr
  4. iface WRLDbr inet static
  5. bridge-ports none
  6. bridge_fd 0
  7. bridge_hello 0
  8. bridge_stp off
  9. #
  10. address 192.168.100.1
  11. netmask 255.255.255.0
  12. gateway 192.168.100.1
  13. sysctl net.ipv4.ip_forward=1
  14. #
  15. post-up iptables -t nat -F
  16. post-up iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -o eth0 -j MASQUERADE
  17. #
  18. post-down iptables -t nat -F
  19.  
  20. auto PRIVbr
  21. iface PRIVbr inet static
  22. bridge-ports none
  23. bridge_fd 0
  24. bridge_hello 0
  25. bridge_stp off
  26. #
  27. address 10.0.10.1
  28. netmask 255.255.255.0
  29. # gateway 10.0.10.1
  30. sysctl net.ipv4.ip_forward=1
Add Comment
Please, Sign In to add comment