Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eth0 - normal internet
- tun0 - openvpn tunnel
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 192.168.80.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
- 10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
- 192.168.44.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 dummy0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
- 169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
- 0.0.0.0 192.168.44.1 0.0.0.0 UG 0 0 0 eth0
- iptables -t nat -A POSTROUTING -s 192.168.80.50 -o tun0 -j MASQUERADE
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Add Comment
Please, Sign In to add comment