1
General Discussion / Re: No Internet for Only Windows Client on VLAN
« on: June 15, 2024, 10:10:37 pm »
In case it might prove useful for anyone who stumbles upon this thread with a similar issue, I did end up solving it and wanted to share what I did.
The switch I'm running is a slightly older HP ProCurve and the documentation for it is not always glaringly straightforward. When adding VLAN's, there are options related to setting the IP. They can be manually set but also set to use a DCHP server.
When I was creating the network originally, I wasn't able to get the DHCP option to work, though I thought it was the best option because each of the VLAN interfaces has DCHP enabled. Using the "manual" option did work and allowed Linux and iOS options to have internet access. I left it at that as it was working.
In trying to troubleshoot my issue, I reinstalled OPNSense and even without recreating the tunnel I had been using for the VPN connection the issue persisted. At this point I felt it had to be a switch-related cause, as none of the Windows clients could even reach the gateway. I changed the IP configuration of the VLAN's to DHCP within the configuration of the switch and lo-and-behold suddenly the Windows clients had internet.
I also ended up toggling off the "Don't add/remove routes" (which I had previously needed on for internet to be available on the non-VPN VLAN's) in order to fix a resulting DNS leak.
Still not entirely sure how the Linux and iOS clients were able to have internet access prior to this change, but everything is working now.
Thank you to those that offered suggestions aimed at trying to resolve the technical issue!
The switch I'm running is a slightly older HP ProCurve and the documentation for it is not always glaringly straightforward. When adding VLAN's, there are options related to setting the IP. They can be manually set but also set to use a DCHP server.
When I was creating the network originally, I wasn't able to get the DHCP option to work, though I thought it was the best option because each of the VLAN interfaces has DCHP enabled. Using the "manual" option did work and allowed Linux and iOS options to have internet access. I left it at that as it was working.
In trying to troubleshoot my issue, I reinstalled OPNSense and even without recreating the tunnel I had been using for the VPN connection the issue persisted. At this point I felt it had to be a switch-related cause, as none of the Windows clients could even reach the gateway. I changed the IP configuration of the VLAN's to DHCP within the configuration of the switch and lo-and-behold suddenly the Windows clients had internet.
I also ended up toggling off the "Don't add/remove routes" (which I had previously needed on for internet to be available on the non-VPN VLAN's) in order to fix a resulting DNS leak.
Still not entirely sure how the Linux and iOS clients were able to have internet access prior to this change, but everything is working now.
Thank you to those that offered suggestions aimed at trying to resolve the technical issue!