Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Pin Wireguard to a Gateway and/or failover in multi-WAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Pin Wireguard to a Gateway and/or failover in multi-WAN (Read 1238 times)
bubbagump
Newbie
Posts: 39
Karma: 5
Pin Wireguard to a Gateway and/or failover in multi-WAN
«
on:
August 11, 2022, 05:01:31 pm »
I am wondering how I can pin Wireguard to a gateway and/or cause it to fail over in a multi-WAN setup. This is only for outbound considerations as inbound - create the NAT and off I go.
«
Last Edit: August 11, 2022, 05:33:25 pm by bubbagump
»
Logged
bubbagump
Newbie
Posts: 39
Karma: 5
Re: Pin Wireguard to a Gateway and/or failover in multi-WAN
«
Reply #1 on:
August 13, 2022, 07:21:10 pm »
After thinking about this for a few days and poking at docs, I don't think OPNSense offers an explicit way to do this. What I ended up doing that gets me most of the way there....
Wireguard will use the default gateway and has no concept of a gateway group. Therefore I simply set the priority of the WAN link I wanted to use for Wireguard to have priority and enabled "Allow default gateway switching."
Logged
I3iker
Newbie
Posts: 25
Karma: 0
Re: Pin Wireguard to a Gateway and/or failover in multi-WAN
«
Reply #2 on:
August 13, 2022, 09:49:13 pm »
Maybe this can help you ..
https://schnerring.net/blog/opnsense-baseline-guide-with-vpn-guest-and-vlan-support/
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Pin Wireguard to a Gateway and/or failover in multi-WAN