need help with iptables

need help with iptables

Secure Home | Search | About

Networking Firewalls - Software and hardware firewalls discussions 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
need help with iptables Omid Ghiami 10-13-2009
Posted by Omid Ghiami on October 13, 2009, 8:38 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


Hello, I am having trouble configuring iptables on my Virtual Private
Server. It seems to ignore any line that has "-m state --state ".
Specifically, I need the line "-A INPUT -m state --state
ESTABLISHED,RELATED -j ACCEPT" to work properly and it does not. It seems to
just ignore it and hence I have trouble accessing outside services on my
machine. Is there an alternate way to configure this line or has anyone else
come across such an issue? I am using iptables version 1.4.1.1. Thanks.



Posted by Grant on October 14, 2009, 3:25 am
If you were  Registered and logged in, you could reply and use other advanced thread options



>Hello, I am having trouble configuring iptables on my Virtual Private
>Server. It seems to ignore any line that has "-m state --state ".
>Specifically, I need the line "-A INPUT -m state --state
>ESTABLISHED,RELATED -j ACCEPT" to work properly and it does not. It seems to
>just ignore it and hence I have trouble accessing outside services on my
>machine. Is there an alternate way to configure this line or has anyone else
>come across such an issue? I am using iptables version 1.4.1.1. Thanks.
>

First two rules here:

iptables -A INPUT -p all -m state --state ESTABLISHED,RELATED \
-j ACCEPT
iptables -A INPUT -p all -i lo -j ACCEPT

Order of rules matters.

Grant.
--
http://bugsplatter.id.au

Similar ThreadsPosted
Applying iptables firewall rules: iptables-restore: line 19 failed August 31, 2005, 2:58 am
iptables article: Learning iptables from scratch - feedback appreciated April 20, 2005, 12:33 pm
iptables and vpn... January 5, 2005, 1:23 am
Iptables help April 2, 2005, 8:45 pm
iptables help November 6, 2006, 3:37 pm
iptables February 5, 2007, 5:03 pm
flush iptables August 10, 2004, 11:12 am
iptables in SuSE April 22, 2005, 6:06 am
IPTABLES for my webserver November 19, 2005, 1:28 pm
Changing iptables on the fly October 14, 2006, 6:19 am

The site map in XML format XML site map

Contact Us | Privacy Policy