i have a problem with a specific config in my router (lede V 18.06.8 and i cant upgrade)
i have the configuration:
mwan3 with 2 interfaces
the load balance working good
vpn with wireguard with 1 test ip (google.cl 220.127.116.11)
when i traceroute at ip 18.104.22.168 works fine
now i wish to route all the traffic via vpn but i cant if the mwan3 program is working even if delete the default routes with route del default gw and route del default gw (obiusly i need to add the route to hop the vpn server)
Could you explain the problem in more detail?
The 2 wan links are the usual ISP links or the vpn is one of them?
hi thanks for the question (actually i have some problems to explain all the picture)
yes, i have 2 wan link independent (2 cellular conection connected by wifi and usb port more specific)
wan1 IP gw 192.168.43.65
wan2 IP gw 192.168.8.1
the wireguard vpn connection its independent, can connect using any wan link and dont have any problem with the roaming
I am not sure how well mwa3 works with VPNs. To my opinion it would make more sense to drop mwan3 and use VPN PBR and set preference to the wan interfaces with metrics.
unfortly maybe my LEDE version 18.06.8 dont have these packages in repositories list
root@Router:~# opkg update && opkg install vpn-policy-routing luci-app-vpn-policy-routing Downloading http://downloads.openwrt.org/releases/18.06.8/targets/ar71xx/generic/packages/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_core Downloading http://downloads.openwrt.org/releases/18.06.8/targets/ar71xx/generic/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.8/targets/ar71xx/generic/kmods/4.9.214-1-2b8f9dfe583e5c09aadd9474da55137f/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_kmods Downloading http://downloads.openwrt.org/releases/18.06.8/targets/ar71xx/generic/kmods/4.9.214-1-2b8f9dfe583e5c09aadd9474da55137f/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/base/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_base Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/luci/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_luci Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/packages/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_packages Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/routing/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_routing Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/routing/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/telephony/Packages.gz Updated list of available packages in /Exroot-data/opkg/openwrt_telephony Downloading http://downloads.openwrt.org/releases/18.06.8/packages/mips_24kc/telephony/Packages.sig Signature check passed. Unknown package 'vpn-policy-routing'. Unknown package 'luci-app-vpn-policy-routing'. Collected errors: * opkg_install_cmd: Cannot install package vpn-policy-routing. * opkg_install_cmd: Cannot install package luci-app-vpn-policy-routing.
finally i discover why when i activate mwan3, independent if in the route -n command output only have 1 default route the packets going for another default route.
mwan3 create a ip route table, and in these routes have a own default route.
now i try to edit these tables but i cant :S
You need to add the repository.
Better not edit them manually.