Port forwarding not working - ssh
hummingbird
Posts: 2 Freshman Member
Hello,
I have a laptop located within my LAN which I want to connect to through ssh from the Internet.
Within my modem configuration I enabled the port forwarding on port 22 (first next image). Also I relaxed my firewall rules (second image) and created some specific rules to let incoming connections (third image)
Within the LAN I can connect to my laptop via ssh without any problem (so the ssh configuration is fine), but I cannot connect to the laptop from the Internet. I tried to scan the 22 port from https://www.canyouseeme.org but is still closed. The only way I see the 22 port open on the modem is when I allow remote access to the modem via ssh (maintenance --> remote management), which is not what I want!
Honestly, I don't know what else I can do!
Can you help me?
Thank you
I have a laptop located within my LAN which I want to connect to through ssh from the Internet.
Within my modem configuration I enabled the port forwarding on port 22 (first next image). Also I relaxed my firewall rules (second image) and created some specific rules to let incoming connections (third image)
Within the LAN I can connect to my laptop via ssh without any problem (so the ssh configuration is fine), but I cannot connect to the laptop from the Internet. I tried to scan the 22 port from https://www.canyouseeme.org but is still closed. The only way I see the 22 port open on the modem is when I allow remote access to the modem via ssh (maintenance --> remote management), which is not what I want!
Honestly, I don't know what else I can do!
Can you help me?
Thank you
0
All Replies
-
I think the reason your port forwarding doesn't work from Internet to LAN client is because port 22 is used in your router for SSH. Do you have to use port 22? Try to use another port number might be a solution.0
-
@Hummel
Sorry for the late reply, but after having moved the port to another one, it took me a while to make SSH to work (in LAN). And I finally managed to connect also from the Internet!
Another thing that I did was to change the firewall settings directly on the laptop machine I wanted to connect (I had forgot this step). Allowing incoming connection from the Internet was not the default setting. Finally, a restart of the machine was necessary for some reason.
Thank you very much for your help!
Best
0
Categories
- All Categories
- 347 Beta Program
- 2.1K Nebula
- 114 Nebula Ideas
- 77 Nebula Status and Incidents
- 5K Security
- 44 USG FLEX H Series
- 246 Security Ideas
- 1.2K Switch
- 65 Switch Ideas
- 901 WirelessLAN
- 33 WLAN Ideas
- 5.8K Consumer Product
- 204 Service & License
- 326 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.8K FAQ
- 829 Nebula FAQ
- 401 Security FAQ
- 219 Switch FAQ
- 190 WirelessLAN FAQ
- 45 Consumer Product FAQ
- 136 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 71 About Community
- 61 Security Highlight