I greet all the participants of the forum and wish you a Happy New Year!
I'm having a big problem setting up my router.
I have a main router in my house that accesses the Internet via fiber optics. I connected a Redmi AX6S (OpenWrt) router to it via a LAN-LAN interface.
After a long setup, I was able to make an openvpn connection. Ping and trace show the addresses of my ovpn server. BUT. The Wi-Fi network that Redmi creates does not direct traffic to the VPN tunnel. Please help me. I don't know where to look for the problem anymore
This is because your client devices are using the ISP router as the gateway based on the DHCP server from the ISP device (this will provide the clients with IP addresses as well as the default gateway).
There are two ways to handle this:
Manually configure your client devices to use the OpenWrt device as the gateway. This means setting manually assigned static IP addresses on each device and specifying the OpenWrt device as the gateway.
Setup the OpenWrt device in a LAN (ISP router) > WAN (OpenWrt router), and then put all of your clients behind your OpenWrt router (via the lan ports and/or wifi on your OpenWrt router). You'd probably want to disable wifi on your ISP router at that point.
Thank you very much for the advice! I searched for the problem for 5 hours in DHCP. The second LAN-WAN option sounds interesting, but I don't have the Internet on my OWRT router with this connection
maybe because IP address overlap ?
default OpenWRT LAN side is 192.168.1.1/24
and maybe your ISP router operate in same range ?
every router will have trouble if LAN and WAN side are overlapping with same IP range
anyway, best is to reset OWRT to default,
move your OWRT LAN side to ex: 192.168.7.1/24
OWRT will have DHCP client on WAN by default
in this setup, 99% that you will get internet connection on OWRT
I changed the settings, made a LAN (ISP) 192.168.1.1 --- WAN (WRT) 192.168.1.2 connection on the default settings, but I couldn't log in to LuCI. ISP. Wi-Fi from the router wrt does not allow to the Internet, at the assigned address from the ISP (192,168,1,35) it also does not allow in the interface. It's some kind of mysticism and a scary fairy tale
I changed the router's wrt subnet to 192.168.5.1 and now I can't access the LuCI interface. If the LAN-LAN cable is installed, I can connect to the WRT Wi-Fi network and go to the Internet. If it's LAN-WAN, you won't get an IP address when you try to connect to the network.
Are you still having an issue with the config, or is everything working properly now (I ask because you've marked a solution but then said you can't reach the LuCI interface or the internet)?