Tuesday, March 12, 2013

IPTABLES :- Open Up Remote Ports

iptables -A INPUT -i eth0 -p tcp --destination-port 3306 -j ACCEPT
 
# The above line accept connection to port 3306
 

No comments: