On 9/7/2016 5:25 PM, Tom Eastep wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 09/07/2016 04:00 PM, Richard B. Pyne wrote: >> On 9/7/2016 1:30 PM, Lennart Sorensen wrote: >>> On Wed, Sep 07, 2016 at 01:15:06PM -0600, Richard B. Pyne wrote: >>>> On 9/1/2016 2:59 PM, Tom Eastep wrote: >>>>> After executing this command: >>>>> >>>>> iptables -N foo >>>>> >>>>> What output do these commands produce? >>>>> >>>>> iptables -A foo -m state --state ESTABLISHED -j ACCEPT >>>> >>>> >>>> # iptables -a foo -m conntrack --ctstate ESTABLISHED -j ACCEPT >>>> iptables v1.4.21: unknown option "-a" >>> >>> -a and -A is not the same thing. >>> >> >> Which is why I did a cut and paste from Tom's emails. >> > > It should be -A >
# iptables -A foo -m conntrack --ctstate ESTABLISHED -j ACCEPT iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. # iptables -A foo -m state --state ESTABLISHED -j ACCEPT iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. ------------------------------------------------------------------------------ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
