在iptables中为websocketsconfiguration端口
我在端口9090上的服务器(websockets)中实现了Ratchet的推送示例 。 这些是当前的iptables策略: [root@myserver ~]# iptables -L -n -v Chain INPUT (policy ACCEPT 309 packets, 22420 bytes) pkts bytes target prot opt in out source destination 6 380 ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090 flags:0x17/0x02 1765 79738 ACCEPT tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3306 state NEW,ESTABLISHED 831 80329 ACCEPT tcp […]