I try to connect to a remote host over ssh (139.162.206.137) but iptables block the connection.
This is my actual iptables configuration
[root@SRV1 ~]# 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
There aren’t any block policy
If I stop iptables service I can connect correctly. What exactly happend with my outbound connection?
Thanks in advance