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