Discord Server Red Security Twitter Donation to Red Security Red Security Youtube Channel Red Security Tumblr Profile
Login or Register to Hide ads and Accessing all features on the forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Deleting Iptables Firewall rule.
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"


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
* Thankful to Allah *

Possibly Related Threads…
Thread Author Replies Views Last Post
Brick Linux Nextcloud 20: One private cloud to rule them all ZDNet Linux 0 370 11-03-2020, 04:25 AM
Last Post: ZDNet Linux

Users browsing this thread: 1 Guest(s)