Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //(only the 60.60.60.60 can access 10.8.0.6)
- iptables -t nat -I PREROUTING -i eth0 -s 60.60.60.60 -p tcp --dport 55555 -j DNAT --to-destination 10.8.0.6:80
- iptables -t nat -D PREROUTING -i eth0 -s 60.60.60.60 -p tcp --dport 55555 -j DNAT --to-destination 10.8.0.6:80
- iptables -t -nat -F
Add Comment
Please, Sign In to add comment