1
2022.03.07
ssh(139.162.206.137)を介してリモートホストに接続しようとしましたが、iptablesが接続をブロックします。これは私の実際のiptables構成です
[[email protected] ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere match-set IPs_countries src
DROP all -- anywhere anywhere match-set IPs_blacklist src
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- 81.51.151.22.dyn.user.ono.com anywhere tcp dpt:6556
ACCEPT tcp -- 81.51.151.22.dyn.user.ono.com anywhere tcp dpt:12800
ACCEPT tcp -- 81.51.151.22.dyn.user.ono.com anywhere tcp dpt:12801
ACCEPT icmp -- 81.51.151.22.dyn.user.ono.com anywhere icmp echo-request
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
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
ブロックポリシーはありませんiptablesサービスを停止すると、正しく接続できます。アウトバウンド接続で何が起こったのですか?
前もって感謝します