Thursday, May 19, 2016

CentOS How to open the port in the Server!

  How open a new Port on the VPS!



you can use:

sudo iptables -I INPUT -p tcp -m tcp --dport 38088 -j ACCEPT

but you must know:




所以开放的配置放到红圈里2个规则上面

那2个规则会把上面没匹配的连接全拒绝掉

No comments:

Post a Comment