Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
New install, cannot access web gui or ping lan interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: New install, cannot access web gui or ping lan interface (Read 2421 times)
LegendaryJello
Newbie
Posts: 6
Karma: 0
New install, cannot access web gui or ping lan interface
«
on:
April 13, 2024, 05:05:43 am »
Hi I just installed OPNsense and am trying to access the web GUI for further configuration however I am receiving connection timeout. I tried both HTTP and HTTPS. Trying to ping the LAN gateway, I am receiving timeout and some destination unreachable responses. My current setup is modem to igc0, igc1 to switch, and switch to computer. Both interfaces have IPv4 and IPv6 addresses per information in console. The WAN interface was picked up via DHCP from ISP and the LAN interface is the default. Switch is 192.168.1.7 and computer is 192.168.1.20. I can ping the switch from both the computer and OPNsense. The arp table of the computer shows the IP addresses of both the switch and OPNsense which were both dynamically learned. I am a little lost what to do next. Does anyone have any other suggestions? Should I be checking firewall / nat rules next? Is there a way to do from console?
Logged
Seimus
Hero Member
Posts: 607
Karma: 59
Re: New install, cannot access web gui or ping lan interface
«
Reply #1 on:
April 13, 2024, 11:33:57 am »
Can you ping OPN from the switch as well?
Can you show the switch mac table on teh interface that is pointing to OPN and PC?
What is your subnet mask of OPN LAN and PC?
If this is a new install, and all in default you should have on LAN interface a default allow any,any IN. Maybe during install of OPN you did choose some option that prevents you now to access it.
You can try to reset the GUI via ssh CLI
https://docs.opnsense.org/troubleshooting/webgui.html
Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.
OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G -
VM HA(SOON)
N100 - i226-V | Crucial 16G 4800 DDR5 | S 980 500G -
PROD
LegendaryJello
Newbie
Posts: 6
Karma: 0
Re: New install, cannot access web gui or ping lan interface
«
Reply #2 on:
April 13, 2024, 02:46:34 pm »
Thanks for your reply. Everyone is configured with a /24 mask. I was researching if it is possible to see the mac table of the switch but I don’t think it is. I also don’t think it’s possible to ping from the switch either. The most I can see is that both ports on the switch are enabled and are seeing traffic, no errors, and I can perform a cable test which both come back normal. I did the web gui reset via OPNsense shell (option eight from console) and that returned OK but it didn’t resolve either issue. Is there somewhere I can go via the shell to check firewall rules?
«
Last Edit: April 13, 2024, 03:23:22 pm by LegendaryJello
»
Logged
Seimus
Hero Member
Posts: 607
Karma: 59
Re: New install, cannot access web gui or ping lan interface
«
Reply #3 on:
April 13, 2024, 06:00:48 pm »
What switch are you using?
Also did you configure VLAN TAG on OPN during initial isntallation?
You can see the rules from CLI >
Code:
[Select]
cat /tmp/rules.debug
Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.
OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G -
VM HA(SOON)
N100 - i226-V | Crucial 16G 4800 DDR5 | S 980 500G -
PROD
budflow
Newbie
Posts: 7
Karma: 0
Re: New install, cannot access web gui or ping lan interface
«
Reply #4 on:
April 13, 2024, 08:20:38 pm »
To manually set your network settings:
Click the settings button. (Network)
Select the IPv4 or IPv6 tab and change the Method to Manual.
Example:
IP Address: 192.168.1.100
Gatway: 192.168.1.1
Subnet Mask: 255.255.255.0
It's the same for me with a new installation. But when I do that, it works. If it worked the first time, you don't need it anymore...
Logged
LegendaryJello
Newbie
Posts: 6
Karma: 0
Re: New install, cannot access web gui or ping lan interface
«
Reply #5 on:
April 13, 2024, 10:36:46 pm »
It’s the TP-Link TL-SG108E. It has default settings so only the default vlan is active which should pass untagged traffic. I didn’t configure any vlans yet on OPNsense. Had a look at the rules.debug file and I’m not seeing anything apparent that would block traffic from lan. I see the block bogons and private IP rules which are commented out. I also see the ‘default allow lan to any’ rules are uncommented. Just to be sure, I reset OPNsense to factory defaults (option four) from console to rule out any issues with the fw rules.
Since earlier, I added another host which is a pi-hole and changed the IP scheme to a 10.0.100.0/24 network because I thought there may have been some conflict with addressing on a virtual interface on the PC but I still cannot access OPNsense web gui.
So now the network is configured with the modem going to OPNsense wan port and the lan port going to the switch where the PC and pi-hole are connected. All hosts are configured in the 10.0.100.0/24 network. From the PC I can access the switch only (pings successful and can get to the web gui) but cannot get to OPNsense or pi-hole (pings unsuccessful and cannot access web guis). From OPNsense, I can ping the switch, pi-hole, and the internet but cannot ping the PC. From pi-hole, I can ping the switch, OPNsense, and the internet but cannot ping the PC.
This is beginning to look like an issue with a configuration on the PC itself, perhaps?
Thanks for the continued help.
Logged
julsssark
Jr. Member
Posts: 93
Karma: 6
Re: New install, cannot access web gui or ping lan interface
«
Reply #6 on:
April 14, 2024, 02:25:26 am »
Can you plug the PC directly into the LAN port and by-pass the switch?
Logged
LegendaryJello
Newbie
Posts: 6
Karma: 0
Re: New install, cannot access web gui or ping lan interface
«
Reply #7 on:
April 14, 2024, 02:18:16 pm »
Indeed, yes. In the simplified topology, I still cannot access the web gui and pings return destination host unreachable. When I perform a packet capture on the lan gateway, I am seeing a bunch of arp requests from the PC asking for the lan default gateway address but no replies. When I check the arp table on the PC I do not see the gateway. When I view the firewall log (option 10 from the console), nothing shows when I ping the gateway.
«
Last Edit: April 14, 2024, 02:26:48 pm by LegendaryJello
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6797
Karma: 571
Re: New install, cannot access web gui or ping lan interface
«
Reply #8 on:
April 14, 2024, 02:26:38 pm »
If you have a fresh installation of OPNsense and plug a PC with network set to DHCP into the LAN port you must be able to reach the OPNsense at
https://192.168
.1.1 - period. Anything else is not diagnosable over the forum.
The LAN port is always the first one.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
LegendaryJello
Newbie
Posts: 6
Karma: 0
Re: New install, cannot access web gui or ping lan interface
«
Reply #9 on:
April 14, 2024, 02:44:05 pm »
When I try that, the PC picks up an APIPA address.
Logged
alex303
Jr. Member
Posts: 50
Karma: 6
Re: New install, cannot access web gui or ping lan interface
«
Reply #10 on:
April 14, 2024, 03:11:19 pm »
Your OPNSense device or LAN card on your PC are faulty.
Logged
LegendaryJello
Newbie
Posts: 6
Karma: 0
Re: New install, cannot access web gui or ping lan interface
«
Reply #11 on:
April 14, 2024, 04:35:52 pm »
Thank you, the PC's Ethernet adapter was indeed the cause. I found in the adapter's advanced properties that there was a vlan ID configured and this was from when I was experimenting last week with the switch and didn't change it back to default. Thanks all for the support in working through this.
«
Last Edit: April 14, 2024, 04:38:40 pm by LegendaryJello
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
New install, cannot access web gui or ping lan interface