Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Selective Routing with Wireguard and Unbound
« previous
next »
Print
Pages: [
1
]
Author
Topic: Selective Routing with Wireguard and Unbound (Read 376 times)
not_the_messiah
Newbie
Posts: 15
Karma: 0
Selective Routing with Wireguard and Unbound
«
on:
August 11, 2024, 05:52:47 pm »
Hi Everybody,
Not sure if this is the right section to post in, so apologies in advance!
I've followed this guide in a bid to setup VLANs and selective routing over WG VPN:
https://schnerring.net/blog/opnsense-baseline-guide-with-vpn-guest-and-vlan-support
However, I am not able to get the routing through Unbound for the VLANs I wish this applied to. From what I've read, the issue lies with this step:
https://schnerring.net/blog/opnsense-baseline-guide-with-vpn-guest-and-vlan-support/#add-static-ipv4-configuration-to-the-wireguard-interfaces
- when I attempt this, Opnsense returns the following error
Quote
Cannot assign an IP configuration type to a tunnel interface
I understand has been an issue for quite some time.
Is there a solution/alternative approach to this?
Everything else I have configured following this guide is working as expected.
Any help would be very much appreciated!
Logged
not_the_messiah
Newbie
Posts: 15
Karma: 0
Re: Selective Routing with Wireguard and Unbound
«
Reply #1 on:
August 13, 2024, 11:10:09 pm »
There has to be a solution out there somewhere - I'm certain my requirements are not
that
exotic, are they?!
All I wish to do is:
Have multiple VLANs/Interfaces
Some Interfaces route via the WG VPN, other, WAN
Some Interfaces use Unbound (using WG Interface) for DNS, some use DNSMasq
Anyone?
Logged
Griff
Newbie
Posts: 1
Karma: 0
Re: Selective Routing with Wireguard and Unbound
«
Reply #2 on:
August 14, 2024, 11:23:56 am »
Some sections of that guide are out of date. Check out this comment at the bottom of the guide page. It should help.
https://schnerring.net/blog/opnsense-baseline-guide-with-vpn-guest-and-vlan-support/#remark42__comment-fc205823-ba86-422b-991f-cdd8542dc465
Not sure what else will break in this guide with the 24.7 release.
Logged
DEC670airp414user
Full Member
Posts: 155
Karma: 8
Re: Selective Routing with Wireguard and Unbound
«
Reply #3 on:
August 14, 2024, 12:34:12 pm »
i am not sure why you would follow the unbound part.
Mullvad has used dns hijacking for years. so if the tunnel and interfaces are created properly it forces the tunnel to use their DNS.
i have never subscribed to their service for wireguard but did use openvpn for a year or so.
it sounds like a configuration issue. have you tried watching Christian McDonalds videos on youtube?
i have 2 tunnels with 2 different providers that works perfectly fine using wireguard
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Selective Routing with Wireguard and Unbound