Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

close external port 3306 with iptables

iptables -A INPUT -p tcp --dport 3306 -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #close #external #port #iptables
ADD COMMENT
Topic
Name
8+6 =