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.
Please advice
Regards
Joel 9820533294
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !
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