Child pages
  • Linux Firewall Introduction

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


-X - delete chain - Allows you to delete a chain


 iptables   iptables -X LOG_DROP Delete DROP

Delete the LOG_DROP chain

 iptables -X   Delete the   iptables -X 

Deletes all chains

-P - policy - Allows you to specify, to the kernel, the default policy of a chain (ACCEPT, REJECT, DROP)