cancel
Showing results for 
Search instead for 
Did you mean: 

firewalls

Imran Hussain
Occasional Contributor

firewalls

hi all

I want to flush firewalls, if any. What is the command for doing this.
2 REPLIES
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...