On Sun, 2004-02-01 at 09:34, Robert Collins wrote: > On Sun, 2004-02-01 at 09:31, Chris Deigan wrote: > > It is said that Simon Bryan wrote: > > >HI all, > > >Two versions of this story: > > >SHORT VERSION: > > >1. How do I ensure that there are no firewalls enabled in a RH7.2 install? > > >ie if they are enabled what do I do to turn them off? > > > > iptables -F > > > > That will flush all your iptables rules. > > But won't reset the rule POLICY's, which will likely lock one out in > cautious firewalls.
It will also only flush the rules in the filter table, you also need iptables -t nat -F iptables -t mangle -F but the comment below is probably better still. > > 'service iptables stop' though, should Do The Right Thing. > > Rob -- Howard. LANNet Computing Associates - Your Linux people <http://www.lannetlinux.com> ------------------------------------------ Flatter government, not fatter government - Get rid of the Australian states. ------------------------------------------ To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it. - Scott Granneman, SecurityFocus -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
