1
I would like to access my Ubuntu PC remotely via SSH. The SSH daemon is currently listening on port [x]. My router is a ASUS DSL-N12E.
I have created a rule for the firewall with the following parameters:
- Protocol: TCP
- Direction: Downstream
- Source Port: [x]
- Dest IP/Mask: 192.168.1.100/255.255.255.255
- Dest Port: [x]
and a NAT Virtual Server rule with the following parameters:
- Protocol: TCP
- Local IP: 192.168.1.100
- Local Port: [x]
- WAN IP: pppoe1
- WAN Port: [x]
I'm able to connect to the SSH server from the local network, using ssh -p [x] myuser@192.168.1.100
, but I can't do it using ssh -p [x] myuser@mypublicip
. I'm guessing there's something wrong with the router configuration although canyouseeme.org says that port [x] is open.
Any ideas about what I might be doing wrong?
try ssh -v. but that aside, set a key or super strong password and temporarily remove the firewall rules I wonder if
Dest IP/Mask: 192.168.1.100/255.255.255.255
is wrong. what firewall is it? though normally if the online port svanner syas it can see it then the firewall is fine. do telnet or nc to it see if it says openssh or what. – barlop – 2015-01-04T23:57:20.540