Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##REQUIRED IPTABLES RULES FOR ETH0 IP MASQUERADING
- iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
- ##REQIRED IPTABLES RULES FOR IODINE (IP-OVER-DNS)
- iptables -t filter -A FORWARD -i eth0 -o dns+ -m state --state RELATED,ESTABLISHED -j ACCEPT
- iptables -t filter -A FORWARD -i dns+ -o eth0 -j ACCEPT
- ##REQUIRED IPTABLES RULES FOR WIFI ROUTER
- iptables --append FORWARD --in-interface wlan0 --out-interface eth0 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment