Having issues connecting to OPNSense from my computer for first time set up

Started by GWarrior5595, January 03, 2025, 10:52:20 PM

Previous topic - Next topic
Hello,

I am currently setting up OPNsense for the first time and I am having issues connecting to it through a physical ethernet connection. I currently have OPNSense installed on an Intel N100. My internet is provided through an ATT Gateway which has WIFI disabled and ip passthrough to the mac address of the OPNSense device

I have my ATT Gateway connected to the WAN interface and my computer connected to the LAN interface. The lights on the gateway and OPNsense port are both on. The lights on the computer port and OPNSense port are both on as well. But I am not able to connect to 198.168.1.1 or to the hostname. When I try to run ipconfig on my Windows computer with no other connections to it, I get no connections on anything. When I try to run similar command on my Macbook, I get no connections either.

I enabled wifi on my gateway so I could check to see if my device is being detected and I notice this in the device list:

MAC Address   XXXXXXXXXXX
IPv4 Address / Name   192.168.1.1 / OPNsense
Last Activity   Fri Jan 3 15:36:27 2025
Status   on
Allocation   static
Connection Type    Ethernet LAN-1
Connection Speed    2500Mbps fullduplex
Mesh Client   No

I am able to connect to the OPNSense device when connected to the wifi of the ATT gateway by going to 198.168.1.1 but not on the computer connected through a physical ethernet connection. I verified that the ethernet connection works fine by directly connecting to the gateway and I am able to get an ip address + internet. I am also not able to connect through ethernet on the device where wifi worked when I only allow connections from ethernet

When I enable ssh on OPNSense through the wifi connected device, I can ssh and see these configs:

*** OPNsense.localdomain: OPNsense 24.7.11_2 (amd64) ***

 LAN (igc0)      -> v4: 192.168.1.1/24
 WAN (igc1)      ->

 HTTPS: sha256 xxxxxx
               xxxxxx
 SSH:   SHA256 xxxxxx(ECDSA)
 SSH:   SHA256 xxxxxx (ED25519)
 SSH:   SHA256 xxxxxx (RSA)

  0) Logout                              7) Ping host
  1) Assign interfaces                   8) Shell
  2) Set interface IP address            9) pfTop
  3) Reset the root password            10) Firewall log
  4) Reset to factory defaults          11) Reload all services
  5) Power off system                   12) Update from console
  6) Reboot system                      13) Restore a backup


So when I try to switch the ethernet connection from my gateway to the second port to try and fit to the WAN, I still cannot connect to the OPNSense device from the hard wired device AND I cannot connect to the device from my wifi (at the domain or 192.168.1.1 or the IP address listed under the ATT Gateway for the device). All the expected lights are on, the two ports on the OPNSense device, port on the ATT Gateway and port on the physically connected PC. I even updated the IP Passthrough from ATT Gateway to point to the OPNSense device but still have issues connecting.

Here is what I see in my ATT Gateway under devices:

MAC Address   xxxxxxx
IPv4 Address / Name   192.168.1.67 / OPNsense
Last Activity   Fri Jan 3 15:44:57 2025
Status   on
Allocation   dhcp
Connection Type    Ethernet LAN-1
Connection Speed    2500Mbps fullduplex
Mesh Client   No
IPv6 Address   xxxxxxxxx
Type   slaac
Valid Lifetime   3600s
Preferred Lifetime   3600s
IPv6 Address   fe80::62be:b4ff:fe1c:66f1
Type   slaac
Valid Lifetime   forever
Preferred Lifetime   forever

I still run into the same issue even when I reset OPNSense to factory defaults.

Switched WAN and LAN, possibly?

Don't connect your uplink. Connect your PC to each port in turn, until you receive an IP address via DHCP and you can ping 192.168.1.1. That port is LAN.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

hmm okay, I am able to connect with the physically connected PC now. All I did was unplug the ATT Gateway and then I was able to get the IP, did not move the connection from the computer. So when would I be able to connect the uplink then to avoid the issue after?

If your ISP gateway uses the same network (192.168.1.x) as OPNsense does on LAN that could be the cause of your problems. Change the OPNsense LAN network to e.g. 192.168.2.x in that case.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)