I have a local network and my router has a dedicated IP, inside my network there are several computers and one of them is my windows server. I want to access my server from outside this network through ssh. What I thought of is to use port forwarding in the router so I forwarded external port 22 to the internal ip 192.168.0.110 (the internal ip of my server) and to the internal port 22. Then I tried to connect from outside that network by
ssh admin@<dedicated ip of my router>
I got an error : port 22: Connection refused