E
E
eegmak2021-01-30 23:04:32
System administration
eegmak, 2021-01-30 23:04:32

How to get ssh access to openwrt router connected in wifi client mode?

The open-wrt router is connected in client mode to the main router that distributes the Internet via Wi-Fi. I would like to access the web interface or ssh of the openwrt router through a mobile phone that is connected to the router distributing the Internet. Openwrt router somehow configured, now it can be connected to a computer and it gives the Internet to ethernet, while on ethernet a static address 192.168.2.1 on which you can connect from a computer via ssh. if I disconnect it from ethernet, then I can’t access ssh via wifi. At the same time, if you scan the network of the router distributing Wi-Fi from the phone, then the open-wrt router has the address 192.168.1.206 (and all devices 192.168.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
ValdikSS, 2021-01-31
@ValdikSS

If I understand correctly, you have a main router that distributes the Internet, and an OpenWRT router that does not perform any additional function at the moment.
Change the settings logic in OpenWRT so that there is no WAN zone at all, but one large LAN. VLAN at the WAN port is also added to the LAN. Disable DHCP on the LAN, assign a static address. With such a setting, OpenWRT will act as a switch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question