I've been following this guideline and this guideline and was able to successfully setup Wireguard on my OpenWrt 19.07.3 r11063-85e04e9f46. However now I'm facing a problem: how can I temporarily disable Wireguard without rebooting the router? Things I've tried so far:
- Stopping the Wireguard network interface -> Internet stops working if I do so
- Removing Wireguard interface from WLAN -> same issue
- Checked out this thread on the OpenWRT forum which suggested using 0.0.0.0/1 and 128.0.0.0/1 as the Allowed IPs -> still not working after changing the setting and saving the interface configuration
- Tried disabling "Route allowed IPs" and saving -> still not working
My goal is to be able to switch between Wireguard and direct connection at any time without rebooting the router. Is this possible with Openwrt?