Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
High availability
»
Only one device fail to connect to internet
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Only one device fail to connect to internet (Read 2558 times)
vickvohoang
Newbie
Posts: 9
Karma: 0
Only one device fail to connect to internet
«
on:
June 04, 2024, 08:33:14 am »
HI, I’m new to this and starting setting up OPNsense on my pc router using Proxmox 1 month ago. Recently something stragne happens when my main PC (Windows 11) start disconnect to internet but can still access to LAN except for the OPNsense router IP. Every other device working perfectly fine. At first I thought it was cable issue and started to troubleshoot everything and the all the connection are fine. Even weirder the PC would occasionally able to connect to internet but then would disconnect again after a while or after reboot. I think it might be driver issue so I reinstall and roll back drivers, not luck. I tried to install Linux on a different drive just to test and it works fine on the same machine. So I decided to reinstall Windows and it disconnect again. I have a backup OPNsense in my proxmox and it works fine whenever I use it instead. The only diffrent between the backup OPNsense and the main one is the backup is running CARP and have a diffrent default IP address (10.10.10.1 vs 10.10.10.251). I was using CARP when I tried to messing around with HA for OPNsense but decided to use 1 firewall on the current instance of the OPNsense. So now i think it CARP or HA setting related. I’m new to this and still learning while messing around so some terminology maybe incorrect, so feel free to question me. Any ideas?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Only one device fail to connect to internet
«
Reply #1 on:
June 04, 2024, 08:50:28 am »
What tests do you do? Ping 8.8.8.8 is better than using a browser for instance since the firewall is a layer 3 device while the browser is on layer 7.
Do a ping and a traceroute from a working and non-working device to confirm it really is the firewall.
Bart...
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #2 on:
June 04, 2024, 11:23:22 am »
when I ping 8.8.8.8 it times out, when I ping 10.10.10.1 (router ip) it came back but still can't access it via browser
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Only one device fail to connect to internet
«
Reply #3 on:
June 04, 2024, 12:01:23 pm »
what about traceroute? Is the firewall in the path to 8.8.8.8?
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #4 on:
June 04, 2024, 08:34:39 pm »
I don’t think so, but can you show me how I can check for it?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Only one device fail to connect to internet
«
Reply #5 on:
June 05, 2024, 07:59:56 am »
If your PC runs Windows, open a command prompt and run:
tracert 8.8.8.8
Bart...
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #6 on:
June 06, 2024, 01:46:02 pm »
it’s request timed out
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Only one device fail to connect to internet
«
Reply #7 on:
June 06, 2024, 09:47:17 pm »
Is the firewall IP in the list of hops, or are there no hops at all?
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #8 on:
June 08, 2024, 01:13:43 pm »
no hop at all
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Only one device fail to connect to internet
«
Reply #9 on:
June 08, 2024, 05:49:59 pm »
That means you don't have a default gateway set up.
Open your network config and add 10.10.10.1 as the default gateway.
Bart...
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #10 on:
June 08, 2024, 10:38:29 pm »
on the PC? in the network setting I can see it detects the default gateway correctly
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Only one device fail to connect to internet
«
Reply #11 on:
June 09, 2024, 08:56:34 am »
Is it Windows? Reset the stack from a command prompt:
netsh int ip reset
netsh winsock reset
reboot and try again
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #12 on:
June 09, 2024, 09:28:57 pm »
it works but after about 30 minutes or after the PC went to sleep, I disconnect again. If I go to proxmox and restart OPNsense it will works until PC went to sleep.
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #13 on:
June 11, 2024, 07:04:22 pm »
UPDATE: another clue: whenever this happens, I can go to the Proxmox console for the Opnsense and choose to restart all services and it worked
Logged
vickvohoang
Newbie
Posts: 9
Karma: 0
Re: Only one device fail to connect to internet
«
Reply #14 on:
June 20, 2024, 07:13:07 pm »
When the PC is disconnected I can see a bunch of request in the firewall log of OPNSense from the PC to outside IPs but no response. This stop as soon as I restert the OPNsense and the PC is reconnected. what could this be? Please help.
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
English Forums
»
High availability
»
Only one device fail to connect to internet