ITeye博客

设置IpTable访问

yezi · 2008-08-15 13:16 · 服务器相关 · Markdown


iptables -L
vi /etc/sysconfig/iptables

增加相应的端口


-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8161 -j ACCEPT

重启IpTable


/etc/rc.d/init.d/iptables restart

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。