Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
New WAN Connection - Cant browse, can ping and DNS.
« previous
next »
Print
Pages: [
1
]
Author
Topic: New WAN Connection - Cant browse, can ping and DNS. (Read 1496 times)
imolaspin
Newbie
Posts: 13
Karma: 0
New WAN Connection - Cant browse, can ping and DNS.
«
on:
February 22, 2023, 07:59:39 am »
I have a new internet connection at my place, which I was hoping to use as load balance or failover. However I cannot get traffic to go out via this new interface.
I have an ISP modem in bridge mode connected to OPNSense providing a DHCP v4 address - this is my WAN and works normally.
I have another connection Australian NBN FTTP, connected to OPNSense on another interface that connects via PPPoE. When enabled - gateway comes to life, interface gets an IP address etc etc. I am using Hybrid NAT and appears all rules are auto generated for the interface. When I disable WAN 1 or disconnect it, OPNSense appears to kick over to WAN2 but web traffic doesnt flow. On both my laptop and on the OPNSense appliance I can traceroute, ping and do DNS lookups, however neither can browse the web. i.e I cannot CURL
www.google.com
from either device.
Any pointers on where to look?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #1 on:
February 22, 2023, 08:32:32 am »
Start here
https://docs.opnsense.org/manual/how-tos/multiwan.html
Logged
imolaspin
Newbie
Posts: 13
Karma: 0
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #2 on:
February 22, 2023, 08:41:16 am »
Thanks for the quick reply bartjsmit.
I have followed this documentation, although I have a feeling that this connection might not work in a single WAN setup - unsure.
Steps in bold are completed as per documentation.
Add monitor IPs to the gateways
Add a gateway group
Configure DNS for each gateway
Use policy based routing to utilize our gateway group
Add a firewall rule for DNS traffic that is intended for the firewall itself
«
Last Edit: February 22, 2023, 08:53:07 am by imolaspin
»
Logged
imolaspin
Newbie
Posts: 13
Karma: 0
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #3 on:
March 02, 2023, 07:19:11 am »
Bump
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #4 on:
March 02, 2023, 08:13:23 am »
Quote from: imolaspin on February 22, 2023, 08:41:16 am
I have a feeling that this connection might not work in a single WAN setup
I only have a single WAN but if you have WAN and WAN2 then your firewall may disagree with you about the above. Does it work when your ISP modem is off?
Bart...
Logged
imolaspin
Newbie
Posts: 13
Karma: 0
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #5 on:
March 06, 2023, 09:31:14 am »
Unfortunately not.
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #6 on:
March 06, 2023, 02:10:03 pm »
Quote from: imolaspin on March 06, 2023, 09:31:14 am
Unfortunately not.
That would indicate that you don't have dual WAN then
My idea of dual WAN is that they're two connections, independent of each other. If you're adding a second connection on top of your first which is still dependent on it, you're only adding complexity. Unless there are non-technical advantages, such as billing or dependent (media) services, I can't see the attraction.
Bart...
Logged
imolaspin
Newbie
Posts: 13
Karma: 0
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #7 on:
March 11, 2023, 02:45:09 am »
My idea of dual WAN is that they're two connections, independent of each other.
I agree and that is what I have here, except when I turn the original/primary WAN off, physically disconnect it etc. I can only ping and do DNS lookups from the 2nd connection but no general web traffic. I do believe it to be an OPNsense configuration issue or potentially a PPPoE issue but I haven't been successful in ruling out either.
I'll test the PPPoE directly to a spare laptop this weekend that should rule that side out at least.
Logged
imolaspin
Newbie
Posts: 13
Karma: 0
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #8 on:
March 11, 2023, 02:58:14 am »
I tested the PPPoE directly using the same credentials etc and it worked flawlessly as expected meaning the configuration is definitely at the OPNsense end.
Anyone have any advice on how to troubleshoot this?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #9 on:
March 11, 2023, 08:44:40 am »
back up your config, start from a fresh OPNsense using only the PPPoE connection and try adding your other WAN?
Logged
imolaspin
Newbie
Posts: 13
Karma: 0
Re: New WAN Connection - Cant browse, can ping and DNS.
«
Reply #10 on:
March 16, 2023, 08:37:36 am »
Fortunately I have figured it out! Unbound DNS was set only to use WAN1 not both 1&2!
I noticed because today there was an outage on WAN1 but internet was working for the few devices that were hardcoded to external DNS!
All resolved and worked perfectly.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
New WAN Connection - Cant browse, can ping and DNS.