Hi. I have multuple WAN interfaces (wan, wanb) in WAN zone, I want to setup Wireguard client for specific WAN (wanb). Anybody can help me?
Diagram:
lan -> wan
-> wanb -> wireguard
I have little knowledge about VPN, sorry for that.
Hi. I have multuple WAN interfaces (wan, wanb) in WAN zone, I want to setup Wireguard client for specific WAN (wanb). Anybody can help me?
Diagram:
lan -> wan
-> wanb -> wireguard
I have little knowledge about VPN, sorry for that.
You can add a route to the WG server on the specific WAN interface.
Do you mind if you instruct me
uci set network.wg_route="route"
uci set network.wg_route.interface="wanb"
uci set network.wg_route.target="wg_server_ip"
uci set network.wg_route.gateway="wanb_gateway_ip"
uci commit network
/etc/init.d/network restart
https://openwrt.org/docs/guide-user/network/routes_configuration
Are you able to sort it out?