Discord Server Twitter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Deleting Iptables Firewall rule.
#1
Wink 
In The Name OF Allah
Al-Salam Alekum

Guys In this tutorial I will teach you Deleting IPtables Firewall Rule in Linux.
Open Terminal and execute this command to list all rules: "iptables -S"


.png   Screenshot_1.png (Size: 44.06 KB / Downloads: 23)


After that Copy the rule which you wanted to delete:
"-A ufw-user-input -p tcp -m tcp --dport 80 -j ACCEPT"

   


Then basically replace -A with -D to delete the rule:
"iptables -D ufw-user-input -p tcp -m tcp --dport 80 -j ACCEPT"

   

Finally check if it has been deleted or not by listing the rules again: "iptables -S"

Thank you for reading


Heart Wa Salam Alekum Heart

[Image: 0yaXvcy.gif]
We Are Anonymous, We Are Legion, We Do not Forgive, We do not Forget
Expect Us
Reply




Users browsing this thread: 1 Guest(s)