I can't access 192.168.1.1 (fresh OPNsense insalation)

Started by Don7Worry, August 15, 2024, 04:56:48 PM

Previous topic - Next topic
August 15, 2024, 04:56:48 PM Last Edit: August 16, 2024, 08:45:40 AM by Don7Worry
Hello All,

Noob here, so i've been watching youtube tutorials on pfsense vs opnsense and i started to move towards opnsense for my "soon to be built home lap".

While on proxmox the vms are flawless on bare metal is not and the reason is not the software but the machines i'm using.

For context i have 2 identical mini PCs Lenovo Thinkcentre and the issue with them is only 1 LAN Port. Like a noob that I am i went ahead and both 2 USB to ethernet adapters to have the second port.

Installation went great but the problem is that after following the youtube tutorials and even do some more reading everything should work but it doesn't.

I know is not recommended to run usb to ethernet but it's supported since I can see the port when the OPNsense is booting with the IP 192.168.1.1/24.

If I ping 192.168.1.1 i get a response, when i try to open the web gui it doesn't load, gives me proxy error and no internet.

The weird thing is that in all the tutorials I've seen the interfaces were labeled like

xxx0
xxx1
xxx3
etc

on my side i see 2 interfaces labeled
xxx0 WAN this is on the onboard ethernet port
xxx0 LAN this is on the usb to ethernet port

I've tried everything I knew after reading some more on the forums but didn't find a solution to the issue, even tried assigning IPs from the OPNsense console but still nothing.

Any help is greatly appreciated!!!

QuoteIf I ping 192.168.1.1 i get a response, when i try to open the web gui it doesn't load, gives me proxy error and no internet.

Proxy error? Why are you using a proxy?

What output do you get if you curl the web ui? Example:

curl --silent --insecure https://192.168.1.1 | grep -m 1 title
    <title>Login | OPNsense</title>

i don't use a proxy, that's the error i was getting on the web page trying to open 192.168.1.1 and yes i tried also http and https//:192.168.1.1

As for that curl i have no idea where and how to do that, i'l google it and understand how and i'l get back to you

Well, if your browser is giving you a proxy error it sure sounds like it's using a proxy. The benefit of testing with curl is that if there are any proxy settings in your browser, they likely won't apply to curl.

I did the curl command in WSL and the output was nothing at all.

Here are some ss's of what it lokes like.
where the ue0 is the usb to ethernet and em0 is the onboard intel ethernet adapter



Quote from: Don7Worry on August 16, 2024, 09:16:01 AM
where the ue0 is the usb to ethernet

I'd rather use a router on a stick and VLANs than any USB ethernet.

Quote from: Don7Worry on August 15, 2024, 04:56:48 PMIf I ping 192.168.1.1 i get a response

I really don't understand what you're doing, why are you pinging 192.168.1.1 on the opnsense machine itself in one of your screenshots? Of course it's going to respond, that's the IP on one of the interfaces on that machine, it doesn't troubleshoot anything.

I will have to reinstall, i managed to leave everything to default and managed to log in, but now I can't load any plugins. non appear in the section.

As I mention at the beginning of the post i'm a noob, after reading again the setup guide I had to plug the lan cable into a smart switch not str8 into my laptop. Lesson learned (don't read between lines)

Thanks for the help!