When I try to connect to the public external ssh Server bandit.labs.overthewire.org
via:
sudo ssh [email protected] -p 2220
I get the error message:
ssh: connect to host bandit.labs.overthewire.org port 2220: Connection refused
specs:
My OS:4.13.0-37-generic #42~16.04.1-Ubuntu 64 Bit
My (homenetwork) router: Fritzbox7272
What I've already tried and figured out:
-connecting via browser web ssh -> works fine
-connecting with VPN enabled -> works fine
-connecting to a local ssh server hosted on a virtual machine on my pc (local vmware network) -> works fine
-watching Wireshark while faling to connect
-> I'm sending a tcp packet to the server with syn flag set, I'm receiving a tcp packet from the server with a set ack and rst flag
-> the outgoing ports from my request vary from request to request, but I think thats normal
-modify iptables via:
sudo iptables -A OUTPUT -p tcp -d 176.9.9.172 -j ACCEPT
to allow all outgoing traffic to the server (the ip is correct)
-disable my firewall software
Any ideas why I still can't connect to the server (without using VPN or webssh)?
I think it might be an issue with my router, what could it be and how may I solve it?