I'm trying to forward port 22 so I can SSH into my PC from a different network but it doesn't seem to be working. I can do ssh mihkel@my_public_ip from the network that the PC is on but it doesn't work on any other network. I've made sure port 22 is allowed in the Windows Firewall and that the IP is correct.. Here is my port forwarding config:enter image description here

I have a Inteno DG400 router and the PC is connected on LAN via Ethernet.

  • Unfortunately, questions about home networking and consumer-grade devices are explicitly off-topic here. You could try to ask htis question on Super User.
    – Ron Maupin
    Commented Nov 7, 2019 at 14:57

1 Answer 1


You shouldn't assign "source port" because when you trying connecting from PC1 to PC2 using ssh only destination port is 22. Source port that PC1 using is dynamically assigned and it could be anything.

  • Thanks, I'll change it when I'm home and report back.
    – Mihkel
    Commented Nov 7, 2019 at 11:32
  • If I leave "source-port" empty I get an error saying it cannot be empty, I've tried to set it to 0 but this is not accepted either.
    – Mihkel
    Commented Nov 7, 2019 at 15:26
  • then the only thing you can do you need to find a software where you can set also source port
    – kubn2
    Commented Nov 8, 2019 at 16:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.