Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multi Wan Policy Based Routing not working on second gateway (No DNS resolve) (Read 3939 times)
maxcomgr
Newbie
Posts: 3
Karma: 0
Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)
«
on:
November 22, 2018, 03:11:32 pm »
Hi everybody.
I have a problem with a multi wan setup.
I have a network with two routers and until yesterday i used pfsense with no problem.(Now I am trying to clone my pfsense setting to opnsense).
I clean installed OPNsense with 3 interfaces LAN, WAN and OPT. Also i have two gateways GW1 (default) and GW2.
GW1 - Connected to WAN
GW2 - Connected to OPT
I added dns servers for each gateway to
http://opnsense.box/system_general.php
.
Also i have not add any Gateway Groups.
Next i add to firewall rules to assign different gateway to each users ip.
If i select in each rule the GW1 which is the default everything works fine.
If i select in some rule the GW2 the user is routed corrected via GW2 but i don have dns resolve for this user.
Is there any guide to help me , please not the classic opnsense guide with multi wan auto setup.
Thank you in advance.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)
«
Reply #1 on:
November 22, 2018, 03:14:59 pm »
User should use firewall as DNS and this rule must be on top without any gateway
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
maxcomgr
Newbie
Posts: 3
Karma: 0
Re: Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)
«
Reply #2 on:
November 22, 2018, 03:18:05 pm »
Thank you for your answer. All users have the firewall as dns server e.g. 192.168.1.254 (LAN iface of opnsense).
But i do not understand this firewall rule for dns. Can you explain please?
Logged
maxcomgr
Newbie
Posts: 3
Karma: 0
Re: Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)
«
Reply #3 on:
November 22, 2018, 03:20:11 pm »
I the attachment are my roules.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)
«
Reply #4 on:
November 22, 2018, 04:06:26 pm »
Doesnt make sense .. have you checked Docs for Multi WAN?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Multi Wan Policy Based Routing not working on second gateway (No DNS resolve)