Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. root@bt:/# iptables -t nat --flush
  2. root@bt:/# iptables --zero
  3. root@bt:/# iptables -A FORWARD --in-interface eth0 -j ACCEPT
  4. root@bt:/# iptables -t nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
  5. # Forward to our site
  6. root@bt:/# iptables -t nat -A PREROUTING -p tcp --dport 80 --jump DNAT --to-destination <Proxy’s IP>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement