ShapeShifter499

Untitled

Jun 7th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. ##REQUIRED IPTABLES RULES FOR ETH0 IP MASQUERADING
  2. iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
  3.  
  4. ##REQIRED IPTABLES RULES FOR IODINE (IP-OVER-DNS)
  5. iptables -t filter -A FORWARD -i eth0 -o dns+ -m state --state RELATED,ESTABLISHED -j ACCEPT
  6. iptables -t filter -A FORWARD -i dns+ -o eth0 -j ACCEPT
  7.  
  8. ##REQUIRED IPTABLES RULES FOR WIFI ROUTER
  9. iptables --append FORWARD --in-interface wlan0 --out-interface eth0 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment