How to set up both openvpn and wireguard?

Hi all,

I dont want to have them connected at the same time. Either WG or OVPN.
At the moment I have 2 configurations with each of them runninng fine if installed separatelly.
However I can not have them both in one place - I start with WG and it is fine.
Then install OVPN and import config files.
Then if I disconnect WG, but OVPN wont connect, in fact the whole router loses connection to internet.

What is the proper way of doing this?

Specify a custom metric on the WAN interface:
https://openwrt.org/docs/guide-user/services/vpn/wireguard/extras#dynamic_connection

Would you elaborate?

Disabling WireGuard interface cuts off internet - #24 by psherman

1 Like