Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove iptables rule

#find line number of rule
$ sudo iptables -L INPUT --line-numbers
## delete rule by number
$ sudo iptables -D INPUT 1
. . .
Source by linoxide.com #
 
PREVIOUS NEXT
Tagged: #remove #iptables #rule
ADD COMMENT
Topic
Name
2+2 =