Page 1 of 1

Port Forwarding keep my port closed

Posted: Tue Nov 28, 2017 5:08 pm
by stasbar
Hello,
I have small server in my house.
I'm able to connect to it via SSH from other devices in my LAN.
The problem is that when I try to connect to the server from outside my network. I get Connection Refused.
My port forwarding looks like this:

Protocol: TCP
From: 2022 (so it doesn't collapse with router ssh)
IP: 192.168.1.127
To: 22

Then from outside the network:
ssh 178.xx.xx.238 -p 2022
give me:
ssh: connect to host 178.xx.xx.238 port 2022: Connection refused

nmap 178.xx.xx.238 -p 2022
give me:
PORT STATE SERVICE
2022/tcp closed down

What am I doing wrong ?

Re: Port Forwarding keep my port closed

Posted: Tue Nov 28, 2017 10:00 pm
by ispyisail
need a network diagram

does your ISP setup allow ports to be forward to your router?