Hello,
I want to use RUT230 to reach, through an ssh over wan, a linuxbox (in LAN) behind that router included in my VPN. I've uploaded the .ovpn certificate generated by my VPN server to the RUT230. In this way I can correctly reach the RUT230 inside my VPN environment (both configuration web page and/or ssh session works to the router), RUT230 VPN address is 1.1.1.3. Next step is to reach the remote device behind RUT230 through a ssh session. That device has the local ip address: 192.168.1.2 and RUT230 is configured with the local 192.168.1.1 (LAN). Inside the RUT230 I've added a new port forwarding rule such:
ssh |
TCP, UDP |
From any host in vpn |
To any router IP at port 2222 |
Forward to IP 192.168.1.2, port 22 in lan |
now if I try the command, from a whatever machine included in my VPN: ssh user@1.1.1.3 -p 2222
returns the following error: ssh: connect to host 1.1.1.3 port 2222: Connection refused
A double jump:
first to the server ssh root@1.1.13 and then to the linux box ssh user@192.168.1.2
anyway allows me to reach the linuxbox.
Can you help me?