Mike Ballon wrote:
That works, thanks.  So what's a rule look like to accept rather than
forward, I was using:

$IPCHAINS -A input -i $ExtIF -p tcp -s 0/0 -d $ExtHostIP 113 -j ACCEPT


Amazingly similar actually...

iptables -A INPUT -i $ExtIF -p tcp -d $ExtHostIP --dport 113 -j ACCEPT

However, you may also wish to take advantage of iptables' stateful nature. Tons of info is available at http://www.netfilter.org

--MonMotha

Reply via email to