Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # iptables -t nat -A PREROUTING -s 10.3.0.0/255.255.255.0 -i br0
- # iptables -t nat -A POSTROUTING -s 10.3.0.0/255.255.255.0 -j MASQUERADE
- # iptables -t nat -A PREROUTING -s 10.3.0.0/255.255.255.0 -i tun21
- # iptables -t nat -A PREROUTING -s 172.16.220.0/255.255.255.224 -i tun21
- # iptables -t nat -A POSTROUTING -s 172.16.220.0/255.255.255.224 -j MASQUERADE
- # iptables --append FORWARD --src 10.3.0.0/24 --dst 10.1.100.0/24 --jump ACCEPT
Add Comment
Please, Sign In to add comment