This morning I tried to set up port forwarding on a machine I have on another network, in order to allow SSH access.
The relevant config page requires these fields (translating from italian [here's the original screenshot](https://risorse.tim.it/content/dam/flytoco-areapubblica-aemfe/tim_it/assistenza/assistenza-tecnica/guide-e-manuali/c8/C8_img_13.jpg)) to be filled:
Name: _________
Protocol: __________
Remote host IP address: ___.___.___.___ ~ ___.___.___.___
Host LAN: ___________
WAN port: ____ ~ ____
LAN host port: ____
Now, as far as I understand,
- Name
is unimportant and I can put anything I want in it,
- Protocol
should be TCP
- Host LAN
should be the IP that the device I want to connect to (a workstation connected to the router via Ethernet) was assigned
- WAN port
is the port I want to expose to the outside, e.g. 9022
,
- LAN host port
is 22
, for SSH
- Remote host IP address
is what puzzles me a bit, I initially thought I could do 192.168.1.1 ~ 192.168.1.255
, which should include the router.
Based on https://canyouseeme.org/ , the above settings are wrong, as the site can't see me on 9022
.
---
I also saw [this thread on an italian forum](https://forum.fibra.click/d/11544-apertura-porte-su-tim-hub/4) that suggests that ___.___.___.___ ~ ___.___.___.___
should be filled with the address of the router, which for me means 192.168.1.1 ~ 192.168.1.1
. The OP did not reply back asking more, so I presume the settings worked for them.
Asked by Enlico
(2258 rep)
Jan 18, 2025, 01:05 PM
Last activity: Jan 18, 2025, 08:39 PM
Last activity: Jan 18, 2025, 08:39 PM