Little Star Blog

路在脚下,心向远方

iptables常用命令

所有来源访问 3306 端口 iptables -A INPUT -p tcp --dport 3306 -j DROP 允许访问 3306 端口 iptables -D INPUT -p tcp --dport 3306 -j DROP