OpenWrt Forum Archive

Topic: How can I Tunnel ssh openwrt

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

my network is

public IP: 222.222.222.222
Router 192.168.1.199
Access Point (openwrt) 192.168.1.210

How can i connect ssh to 192.168.1.210 from external network.
without forward port.

192.168.*.* are link-local addresses, they do not get routed.

So (if I understand you correctly) what you want is not possible.

why tanaza (base on openwrt) can do this.
tanaza not need to forward port.

It is your guess, I think, it is implemented via port forwarding. How can you prove, that it is implemented not via port forwarding?

You will need a VPN-tunnel, with a VPN-server in your router. And your VPN-server much be reachable on the internet, e.g. via "somename.ddns.net" (when e.g. using NO-IP as DDNS-provider).
Look here: https://forum.openwrt.org/viewtopic.php?id=50914
The provided images have Openvpn and Strongswan integrated as available options.
But you can probably install one of these by hand...

Again, your address is link-local and there are probably thousand of devices using 192.168.1.199 right at this moment.

How do you imagine your device could be identified?

morgon, you don't understand basic network principles. Please, glance at basics of "port forwarding", especially example on my link above.

ulmwind, Because I ever use tanaza before. not need to forward port.

What is the problem? Why you don't want to use port forwarding?

Christoph

(Last edited by rj-45 on 28 Jan 2017, 16:43)

The discussion might have continued from here.