[ale] Does anyone know the trick to iptables

Michael H. Warfield mhw at WittsEnd.com
Tue Jan 8 09:57:58 EST 2013


On Mon, 2013-01-07 at 17:39 -0500, Chuck Payne wrote:
> Yes, I was getting weird errors. Thanks.

What were the errors?  That works for me on my firewalls with the
proviso that some older RedHat/Fedora systems were using additional
chains so a dump of the input chain results in something like this:

[root at complex mhw]# iptables -nL INPUT
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0   

You actually have to dump the RH-Firewall-1-INPUT chain to see the real
rules.

Regards,
Mike

> On Mon, Jan 7, 2013 at 5:34 PM, Scott McBrien <smcbrien at gmail.com> wrote:
> > You mean like
> > iptables -nL OUTPUT
> > iptables -nL FORWARD
> >
> > ?
> >
> > On Jan 7, 2013, at 5:18 PM, Chuck Payne <terrorpup at gmail.com> wrote:
> >
> >> Guys,
> >>
> >> Is there a way to only see the rules for the following group iptable rules?
> >>
> >> Chain OUTPUT (policy ACCEPT)
> >> target     prot opt source               destination
> >>
> >> I know when you do the following command you get everything
> >>
> >> iptables -L -n
> >>
> >> But I like to see only the rules for OUTPUT and FORWARD
> >>
> >> Thanks in advise for any help.
> >>
> >> --
> >> Terror PUP a.k.a
> >> Chuck "PUP" Payne
> >>
> >> (678) 636-9678
> >> -----------------------------------------
> >> Discover it! Enjoy it! Share it! openSUSE Linux.
> >> -----------------------------------------
> >> openSUSE -- en.opensuse.org/User:Terrorpup
> >> openSUSE Ambassador/openSUSE Member
> >> Community Manager -- Southeast Linux Foundation (SELF)
> >> skype,twiiter,identica,friendfeed -- terrorpup
> >> freenode(irc) --terrorpup/lupinstein
> >> Register Linux Userid: 155363
> >>
> >> Have you tried SUSE Studio? Need to create a Live CD,  an app you want
> >> to package and distribute , or create your own linux distro. Give SUSE
> >> Studio a try. www.susestudio.com.
> >> See you at Southeast Linux Fest, June 8-10, 2012 in Charlotte, NC.
> >> www.southeastlinuxfest.org
> >> _______________________________________________
> >> Ale mailing list
> >> Ale at ale.org
> >> http://mail.ale.org/mailman/listinfo/ale
> >> See JOBS, ANNOUNCE and SCHOOLS lists at
> >> http://mail.ale.org/mailman/listinfo
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> 
> 
> 
> -- 
> Terror PUP a.k.a
> Chuck "PUP" Payne
> 
> (678) 636-9678
> -----------------------------------------
> Discover it! Enjoy it! Share it! openSUSE Linux.
> -----------------------------------------
> openSUSE -- en.opensuse.org/User:Terrorpup
> openSUSE Ambassador/openSUSE Member
> Community Manager -- Southeast Linux Foundation (SELF)
> skype,twiiter,identica,friendfeed -- terrorpup
> freenode(irc) --terrorpup/lupinstein
> Register Linux Userid: 155363
> 
> Have you tried SUSE Studio? Need to create a Live CD,  an app you want
> to package and distribute , or create your own linux distro. Give SUSE
> Studio a try. www.susestudio.com.
> See you at Southeast Linux Fest, June 8-10, 2012 in Charlotte, NC.
> www.southeastlinuxfest.org
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
> 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://mail.ale.org/pipermail/ale/attachments/20130108/0eccc89f/attachment-0001.sig>


More information about the Ale mailing list