小编Mee*_*p3D的帖子

需要有关 iptables 的帮助

我有一台新服务器,但对 iptables 不太确定。我试过打开端口(25565,如下所示),但仍然无法连接。iptables -L 说明如下;

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     icmp --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:25565 
Run Code Online (Sandbox Code Playgroud)

我认为这与拒绝与 …

iptables centos

0
推荐指数
1
解决办法
89
查看次数

标签 统计

centos ×1

iptables ×1