Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Can't access web GUI after installation - computer doesn't recognize LAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can't access web GUI after installation - computer doesn't recognize LAN (Read 782 times)
Default4408
Newbie
Posts: 9
Karma: 1
Can't access web GUI after installation - computer doesn't recognize LAN
«
on:
October 01, 2024, 12:01:45 am »
I was previously using pfSense and just installed OPNsense on a Protectli FW4B twice but still when I plug any computer to its LAN port, the port stays lit on the FW4B but the RJ45 port doesn’t light up on my computer and it doesn’t detect the wire connection on the OS either. However, when I connect the computer to any of the other ports on the FW4B (OPT2, OPT1, or WAN), then the computer's I/O shield lights up on the RJ45 connection but it still doesn't allow me to connect. When I open up Brave or Mullvad browsers, I can’t reach 192.168.1.1 – Brave says “This site can’t be reached
https://192.168.1.1/
is unreachable. RR_ADDRESS_UNREACHABLE.”
I’ve tried to connect on two different computers, on Windows 10, 11, and Fedora Workstation Linux. The first time I installed I followed the instructions as stated on this guide:
https://kb.protectli.com/kb/how-to-install-opnsense-on-the-vault
. When connected via RJ45, my computers are able to connect to 192.168.1.1 on my ISP router and personal router without a problem.
How can I get the computer to recognize the connection so that I can access the OPNsense web browser GUI? I have attached a picture of the FW4B's interface confirming the IP assigned to LAN. Any help is much appreciated!
Logged
newsense
Hero Member
Posts: 1036
Karma: 77
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #1 on:
October 01, 2024, 12:16:23 am »
Do a ping -t 192.168.1.1 from a machine and see which igb interface answers. I'm assuming igb0 and igb3 are the other way around, but other combos are possible.
Once you found which one is the LAN then check with the WAN cable and see where you get an IP from the ISP
Logged
Default4408
Newbie
Posts: 9
Karma: 1
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #2 on:
October 01, 2024, 12:28:32 am »
This was the result in Windows 11 on all four ports:
Pinging 192.168.1.1 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
How do I check with the WAN cable and see where I get an IP from the ISP?
Logged
newsense
Hero Member
Posts: 1036
Karma: 77
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #3 on:
October 01, 2024, 01:44:30 am »
Do you have a static IP on the machine ? Try using DHCP.
If you don't get an IP address with DHCP on any port try setting the IP statically on WIndows
IP 192.168.1.22
Mask 255.255.255.0
GW 192.168.1.1
DNS1 1.1.1.2
DNS2 9.9.9.11
Alternatively you can start over with the 1) option in the console - Assign Interfaces
Logged
Default4408
Newbie
Posts: 9
Karma: 1
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #4 on:
October 01, 2024, 02:57:04 am »
I just tried both methods but neither worked. Since the Ethernet port on my computer only lights up when connected to any other port but the LAN, I thought that there might be something physically wrong the FW4B LAN port so I tried swapping the LAN and OPT1 assignments via option 1 in the interface but this didn't seem to change anything. Despite this, the LAN port stays lit up on the FW4B but never lights up the one on the computer, much less grant access to the web GUI.
Do you have any more ideas?
Logged
Patrick M. Hausen
Hero Member
Posts: 6799
Karma: 571
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #5 on:
October 01, 2024, 03:26:18 am »
On the FW4B the printing on the case does not match the interface assignment. The first port labled WAN is actually LAN and the second port labled LAN is actually WAN.
It's just paint. And it matches pfSense but not OPNsense.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Default4408
Newbie
Posts: 9
Karma: 1
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #6 on:
October 01, 2024, 03:56:41 am »
I've been following this guide: WAN = igb0 LAN = igb1 OPT1 = igb2 OPT2 = igb3 N/A N/A
I just swapped LAN and WAN (WAN = igb1 LAN = igb0 OPT1 = igb2 OPT2 = igb3 N/A N/A)
but I still can't connect to the web interface.
Logged
newsense
Hero Member
Posts: 1036
Karma: 77
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #7 on:
October 01, 2024, 07:55:25 am »
Change the Lan Interface to 192.168.22.1/24 and it will all work out.
Next time try to provide more details about your setup, nobody can guess you're double NAT-ed and your WAN and LAN IP are in the same network.
Logged
Default4408
Newbie
Posts: 9
Karma: 1
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #8 on:
October 01, 2024, 08:50:06 pm »
Apologies for any confusion, I'm new to all of this and didn't know what double NAT-ed even meant. After looking it up, it seems that it has to do with two routers being present? If that's the case, I don't have any routers connected to the FW4B - just the RJ45 to the computer and the power cable. Yesterday I briefly connected the FW4B to the internet (WAN to router) to check for updates. The changeset came up but I am not sure if it actually updated since I didn't see any confirmation. I have rebooted the device multiple times since then and the device has remained disconnected from my router. Don't know if this could make any difference.
When you say to Change the Lan Interface to 192.168.22.1/24, could you please clarify, are you asking to change...
1. Windows' IP from DHCP automatic to manual
2. "Option 1) - Assign interfaces" this seems to only be for changing the assigned RJ45 ports to my understanding.
3. "Option 2) Set interface IP address" in the OPNsense interface
I have once again set the interfaces as is recommended in the Protectli guide:
https://kb.protectli.com/kb/how-to-install-opnsense-on-the-vault
(WAN = igb0 LAN = igb1 OPT1 = igb2 OPT2 = igb3 N/A N/A)
I tried "Option 2) Set interface IP address" but am not sure what to enter after the IPV4 upstream gateway addresses prompt as shown in the attached image.
Logged
newsense
Hero Member
Posts: 1036
Karma: 77
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #9 on:
October 02, 2024, 12:30:04 am »
Yes that's correct for the LAN.
Try accessing the 192.168.22.1 from your machine if you get an IP in the form of 192.168.22.X from the firewall, if not set one manually on Windows.
Logged
Default4408
Newbie
Posts: 9
Karma: 1
Re: Can't access web GUI after installation - computer doesn't recognize LAN
«
Reply #10 on:
October 02, 2024, 12:38:57 am »
I've tried setting the IP manually as you recommended yesterday although still didn't work.
However, I just reset my settings to default again and the LAN being swapped with WAN (igb0 & igb1), now by plugging into my WAN port, I am able to access the web GUI. I think my physical LAN port may have some issue -- it was also giving me trouble on pfSense but I thought it was due to a misconfiguration. Thank you everyone for your assistance!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Can't access web GUI after installation - computer doesn't recognize LAN