Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@bt:/# iptables -t nat --flush
- root@bt:/# iptables --zero
- root@bt:/# iptables -A FORWARD --in-interface eth0 -j ACCEPT
- root@bt:/# iptables -t nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
- # Forward to our site
- 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