No Internet But Can Ping

Started by CLawrence, June 30, 2023, 06:28:39 PM

Previous topic - Next topic
Hi All,

New to the forum but not too new to opnSense, we have about 10 machines with the software on it. One of our machines when computers connect to it, it says no internet, however the computer can ping googles dns servers and other dns servers. It also can be accessed via Microsoft teams phone calls and sharing screen but it can't for the life of it browse the internet and I can't figure out what I'm missing.

I've ruled out the provider and my wireless router and it seems to be an opnSense issue but I can't figure out where.

I even did a fresh install and it still doesn't work.

Any help would be greatly appreciated.

Quote from: CLawrence on June 30, 2023, 06:28:39 PM
it says no internet, however the computer can ping googles dns servers and other dns servers
Are those computers on the LAN interface of OPNsense? Try setting their DNS to 1.1.1.1 / 8.8.8.8 / 9.9.9.9 (other public DNS is available)

Have a haiku  8)

Bart...


Quote from: CLawrence on June 30, 2023, 06:28:39 PM
Hi All,

New to the forum but not too new to opnSense, we have about 10 machines with the software on it. One of our machines when computers connect to it, it says no internet, however the computer can ping googles dns servers and other dns servers. It also can be accessed via Microsoft teams phone calls and sharing screen but it can't for the life of it browse the internet and I can't figure out what I'm missing.

I've ruled out the provider and my wireless router and it seems to be an opnSense issue but I can't figure out where.

I even did a fresh install and it still doesn't work.

Any help would be greatly appreciated.

Can you provide a diagram, including the other machines that you're testing with?  Including one of the ones most similar to this but working.

When you mention it says no internet, are you referring to the MS indicator and check?

What do you mean about it being able to accessed by Teams calls and sharing?

Have you tried any DNS lookups?  What does the ip config look like?  Is this DHCP or manually assigned?

Having a similar problem when I disable my dhcp lan connection to OPNSense 23.1, the W10 (Broadcom nic)  network connection does not get internet access again when enabled. I am not sure wny.

Hey,

i got a similar problem.
> One solution was the wrong DNS settings.
> Second solution was, that there was set up an Proxyscript on the clients -> After this was disabled everything was working fine.

@Mayo132
Second solution was, that there was set up an Proxyscript on the clients -> After this was disabled everything was working fine.

Can u further elaborate how to make the change? Thanks

@monju0525
Hey,

if you are using windows 11 - please have a look at:

Start Button -> "Settings" -> Network & Internet -> Proxy

If no Proxy is  in your network, the "setupscript" and the "manually Proxysettings" should be empty.

Quote from: bartjsmit on July 01, 2023, 07:37:04 AM
Quote from: CLawrence on June 30, 2023, 06:28:39 PM
it says no internet, however the computer can ping googles dns servers and other dns servers
Are those computers on the LAN interface of OPNsense? Try setting their DNS to 1.1.1.1 / 8.8.8.8 / 9.9.9.9 (other public DNS is available)

Have a haiku  8)

Bart...



Hi Bart

I've had the DNS servers set to 8.8.8.8 as well as comcast's dns servers on the opnSense side under System, Settings, General, Networking.

Did you want me to try setting a computers DNS directly to that, that's on the lan?

Quote from: CJRoss on July 01, 2023, 03:29:16 PM
Quote from: CLawrence on June 30, 2023, 06:28:39 PM
Hi All,

New to the forum but not too new to opnSense, we have about 10 machines with the software on it. One of our machines when computers connect to it, it says no internet, however the computer can ping googles dns servers and other dns servers. It also can be accessed via Microsoft teams phone calls and sharing screen but it can't for the life of it browse the internet and I can't figure out what I'm missing.

I've ruled out the provider and my wireless router and it seems to be an opnSense issue but I can't figure out where.

I even did a fresh install and it still doesn't work.

Any help would be greatly appreciated.

Can you provide a diagram, including the other machines that you're testing with?  Including one of the ones most similar to this but working.

When you mention it says no internet, are you referring to the MS indicator and check?

What do you mean about it being able to accessed by Teams calls and sharing?

Have you tried any DNS lookups?  What does the ip config look like?  Is this DHCP or manually assigned?


I've tested with a few laptops, a postage machine and a few cell phones.

All the devices have this problem.

I have Comcast Cable with a Static IP address, a cable comes out of there into the wan port on my opnSense machine, another cable comes out of my lan port and goes to my wireless router. It's an old Netgear nighthawk.

It could be the MS indicator check, if I look at the ethernet port or wireless card in windows it says connected no internet. If I open up a web browser and try to browse the internet I don't get to any pages, outlook doesn't work. The strange thing is I can be on a teams call with someone on this network (using the internet that the system claims it doesn't have) but can't browse the web or connect to outlook.

I will try dns lookups, I will send a pic of an ipconfig. The devices are getting dhcp from the opnSense software however I have also tried statically giving ip addresses from the opnSense machine as well because I thought at one point captive portal was the problem.

Hi,

So it looks like a dns problem because once I changed his windows wireless ipv4 dns settings to googles and the device was able to browse the web fine.

Attached are my dns settings that are from the opnSense, system, settings, general. These are the settings I have pretty much on all of my other servers.

Also attached is the ipconfig when it wasn't working as well as the nslookup when it wasn't working as well.

Okay, so your entire network isn't working.  That's not the original impression I got.

What happens when you use the DNS Lookup page in OPNSense?  What results do you get from leaving Server blank and when you set Server to 127.0.0.1?

Are you using the default Unbound?  What does your Unbound config look like?

Hi CJRoss

DNS lookups with nothing in server are attached. Did Amazon & ESPN. Haven't looked at these before so i'm not sure what i'm looking at, I did look at this on a machine that seems to be working and it looks different.

When I type 127.0.0.1 in the server field I get no results.

Yes i'm using the default unbound. pic attached (Unbound settings)

I do want to let you know that it seems to be fixed at least on the devices that are connecting to the internet side because of the settings I added under Services, DHCPv4, Lan, DNS Servers. Pic attached (DHCP DNS)

Hi,

sorry for this question, but is the port 53 open at the LAN interface?

If not, you are not able to reach any DNS Servers. And if i get it right you have to allow it also when you are using unbound on the firewall.

So you have to create a rule >   This Firewall > Any  Port 53

Mario

Hi Mario,

No need for the question. Feel free to ask me whatever as you guys are trying to help me.

I have pretty much the default set up, I installed opnSense, I assigned my ip addresses, the dns settings, created a firewall rule so only I can get on the machine and that's about it. nothing else was edited.

That being said I don't know if port 53 is open on the Lan Interface or where to go to check. If you give me the steps to check I will take a look.

Hey,

can you post a screen of:

Klick on the menu on the left:
Firewall -> Rules -> LAN

Now you should see something similar to my file attached to this post.

Mario