1753797 Members
7237 Online
108799 Solutions
New Discussion юеВ

firewalls

 
Imran Hussain
Occasional Contributor

firewalls

hi all

I want to flush firewalls, if any. What is the command for doing this.
2 REPLIES 2
Goran Koruga
Honored Contributor

Re: firewalls

Hi.

iptables -F


It also accepts optinal chain name after the -L switch.

You can use iptables -L to list everything.

Goran
Jerome Henry
Honored Contributor

Re: firewalls

I would had iptables -F INPUT
iptables -F OUTPUT
iptables -f FORWARD
otherwise -F alone would flush filter table, but not the others... correct me if 'I'm wrong.
You can lean only on what resists you...