Advertisement
Guest User

Untitled

a guest
Jan 20th, 2013
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.122.100:80
  2. iptables -I FORWARD -m state -d 192.168.122.100 --state NEW,RELATED,ESTABLISHED -j ACCEPT
  3. iptables -t nat -I PREROUTING -p tcp --source 192.168.122.100 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement