On 04/12/03 19:06 +0530, joel_divekar wrote:
Hi
I am having a problem with IPTABLES. I have firewall script as follows :
iptables -A INPUT -t filter -i eth1 -j DROP iptables -A INPUT -t filter -i eth1 -p tcp --destination-port 22 -j ACCEPT iptables -A INPUT -t filter -i eth1 -p tcp --destination-port 80 -j ACCEPT
We are connected to internet using eth1 and Line no 2 & 3 allows should access to SSH and HTTP server from Internet. But I am uable to do so.
First match wins. This is NOT ipf/pf where last match wins.
Devdas Bhagat