您的位置:首页 > 其它

RHEL iptables防火墙开启端口

2013-03-17 13:37 190 查看
RHEL iptables防火墙开启端口

iptables -I INPUT -i ppp0 -p tcp --dport 81 -j ACCEPT

iptables -I OUTPUT -o ppp0 -p tcp --sport 81 -j ACCEPT

iptables -F 清除规则

service iptables save 保存

service iptables restart 重启
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: