Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard selective routing for all except those listed in the alias
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard selective routing for all except those listed in the alias (Read 2345 times)
autone
Newbie
Posts: 14
Karma: 1
Wireguard selective routing for all except those listed in the alias
«
on:
November 28, 2021, 05:27:38 pm »
Hi all,
I followed,
https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html
and got my OpnSense to connect to AirVPN and all is working well.
ProTIP for those new to this: Adjust the MSS to 1300 or you will get slow speeds and dropouts.
Anyway, I want to do the opposite of selective routing. I want all LAN devices to default to being routed over Wireguard and have a list of IPs in an Alias that must have traffic go directly to WAN.
I tried selecting "Source / Invert" on the Alias but it isn't working as I expected. Anyone care to provide any hints?
Thanks.
Logged
autone
Newbie
Posts: 14
Karma: 1
Re: Wireguard selective routing for all except those listed in the alias
«
Reply #1 on:
November 28, 2021, 06:47:04 pm »
Managed to figure it out.
Used 'Network Group Aliases' to put the whole network as forwarded to WG and another list for exclusions.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Wireguard selective routing for all except those listed in the alias