OPNsense Forum
Archive => 18.7 Legacy Series => Topic started by: maxcomgr 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.
-
User should use firewall as DNS and this rule must be on top without any gateway
-
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?
-
I the attachment are my roules.
-
Doesnt make sense .. have you checked Docs for Multi WAN?