I successfully flash OpenWRT FW into the TP link Archer MR 200 v1.0 router. I want the WAN to work in two modes.
Mode 1: WAN LTE modem
Mode 2: WAN port LAN / WAN (LAN4)
Either mod1 or mod2 will work (of course not at the same time).
First I set mod e (LAN / WAN) according to Unable to connect to internet. No port forwarding WAN to LAN? - #18 by d0st
Next, I installed and configured the wireguard. Internet on LAN 1,2,3 also works well via wifi. However, the wireguard does not work.
If I use mode1 and insert a SIM card into the LTE modem, everything works both the internet and the wireguard.
I don't know where the problem may be. If necessary, I can paste here /etc/config/firewall and /etc/config/network
Does this mean that WAN (usb0 (LTE)) is the default?
If I stop the WAN (usb0 (LTE)) then WAN (eth0.2 (WAN/LAN4)) will become the default?
How can I solve this?
If no SIM card is inserted in the LTE modem, so that the WAN (usb0) is stopped.
TBH, I'm still testing/troubleshooting this issue with a slightly similar problem. I have an 6in4 tunnel and eth1, Wireguard bind to the 6in4 tunnel and uses its IP.
I was able to make a static route for the single DST IP to use the eth instead.