Ok, all I want iptables to do is masquerade. Is there anyway I can set it to stop blocking connections and just allow anything? Here is my current script
Code:
iptables=/usr/sbin/iptables
iptables --flush -t nat
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
iptables --append FORWARD --in-interface eth2 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward