Results 1 to 2 of 2

Thread: need help with iptables

  1. #1
    Omid Ghiami
    Guest

    need help with iptables

    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.



  2. #2
    Grant
    Guest

    Re: need help with iptables

    On Tue, 13 Oct 2009 17:38:25 -0700, "Omid Ghiami" <omid@axiss.com> wrote:

    >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 Threads

  1. newbie with ruleset needs help
    By webdevguy in forum comp.security.firewalls
    Replies: 3
    Last Post: 05-13-09, 02:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •