Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sysctl net.ipv4.ip_forward=1
- iptables -t nat -A PREROUTING -p tcp --dport 9997 -j DNAT --to-destination 10.3.7.2:9997
- iptables -t nat -A POSTROUTING -j MASQUERADE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement