Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Multi WAN & Unbound
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multi WAN & Unbound (Read 3076 times)
edz
Newbie
Posts: 21
Karma: 1
Multi WAN & Unbound
«
on:
March 25, 2021, 01:52:55 am »
I have followed the instructions of setting up Multi WAN, including the steps of adding DNS Servers to each Gateway group.
How does this work when using Unbound? Does all traffic that is destined for a Gateway Group use the gateway DNS? Is there anyway to use Unbound instead of external DNS Servers when using Multi WAN?
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Multi WAN & Unbound
«
Reply #1 on:
March 25, 2021, 01:54:57 am »
you need to use local DNS else your conenction will go crazy
it will be OPNsense that will negotiate the connection I believe
Logged
edz
Newbie
Posts: 21
Karma: 1
Re: Multi WAN & Unbound
«
Reply #2 on:
March 25, 2021, 01:57:07 am »
If I put a local DNS server against a gateway group I get:
You can not assign a gateway to DNS server "192.168.1.1" which is on a directly connected network.
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Multi WAN & Unbound
«
Reply #3 on:
April 07, 2021, 04:31:43 pm »
screen shot?
Logged
tong2x
Full Member
Posts: 223
Karma: 9
Re: Multi WAN & Unbound
«
Reply #4 on:
April 07, 2021, 04:42:12 pm »
in each gateway you can assign a monitor ip. which opnsense uses to detect if the gateway is down(if option is selected)
in system-setting-general
1) you need to allow gateway switching
2) for each gateway assigned a unique dns server(external, like google, open, fast dns, ubound will use this as a forwarding dns server, if selected)
3) you need to have a local dns server for your client which is ubound. you bound will then use the assign dns for each gateway as a forwarding dns (you can choose a restrictive dns server if say you want to block porn or malware)
of course you will still need to define which gateway to use... by default opnsense will choose 1 (not multiwan, hence you need a multiwan group to tell opnsense how the gateways will interact with each other
«
Last Edit: April 07, 2021, 04:48:16 pm by tong2x
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Multi WAN & Unbound