Hi TheLuckyGuy,
Let's concentrate on the current settings:
Code:
apply_rule /sbin/iptables -A INPUT -p tcp --dport 22 -s XXXXMYIPADRESSXXX -j ACCEPT
apply_rule /sbin/iptables -A INPUT -p tcp --dport 22 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 22 -s ::ffff:XXMY IP ADRESSsXXXXXXX -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 22 -j DROP
... which makes the next statement a bit confusing:
... because your current settings are configured for port "22" and not port "2222".
Second, could you pls. confirm, that "
XXXXMYIPADRESSXXX" and "
::ffff:XXMY IP ADRESSsXXXXXXX" are the configured IPv4 + IPv6 addresses you are trying to
CONNECT FROM and not the server - IPs?
Third, pls. be aware, that if you configure:
Code:
apply_rule /sbin/iptables -A INPUT -j DROP
apply_rule /sbin/ip6tables -A INPUT -j DROP
AND
apply_rule /sbin/iptables -A FORWARD -j DROP
apply_rule /sbin/ip6tables -A FORWARD -j DROP
... you have to be aware, that
ALL traffic, which is not explizit configured at your previous rules, will be
DROPED.
Fourth, if you use port "
2222", WHERE did you configure the SSH - changes?