[LUNI] Anyone used iptables?

From: Douglas Carmichael (dcarmich@xnet.com)
Date: Sat Mar 03 2001 - 22:12:44 CST

  • Next message: Jeremy: "Re: [LUNI] GNOME panel"

    I'm trying to have the system accept connections on port 113 to a fake
    identd, but when I add an accept rule from port 113 to the top of the
    chain, it still doesn't work.

    Here are my rules so far:
    /usr/sbin/iptables -N block
    /usr/sbin/iptables -A block -p tcp --source-port 113 -j ACCEPT
    /usr/sbin/iptables -A block -m state --state ESTABLISHED,RELATED -j ACCEPT
    /usr/sbin/iptables -A block -m state --state NEW -i ! ppp0 -j ACCEPT
    /usr/sbin/iptables -A block -j DROP
    /usr/sbin/iptables -A INPUT -j block
    /usr/sbin/iptables -A FORWARD -j block

    What could be the problem?

    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Sat Mar 03 2001 - 22:14:44 CST

  •