Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Webgui unaccessible when port has a DHCP given address
« previous
next »
Print
Pages: [
1
]
Author
Topic: Webgui unaccessible when port has a DHCP given address (Read 628 times)
gdur
Full Member
Posts: 124
Karma: 2
Webgui unaccessible when port has a DHCP given address
«
on:
June 25, 2024, 03:48:17 pm »
Hi,
Today I ran into an unexpected problem while setting up a new server to replace old hardware.
After the initial install I was able to login while pointing to the LAN port with default given IP address as per default.
I created an 3rd port OPT1 and initially configured this port with DHCP. What ever rule I made for this OPT1 port I couldn't get access to the web interface. After some hair pulling hours the only difference I could find was that on my "old" OPNSense box the OPT1 port had a fixed IP address instead of DHCP. So I changed on my new box OPT1 to a fixed available IP address and voila, the https connection was established. Now I changed the fixed IP address to the same one given by DHCP and no connection is possible. Firewall log shows that the request may pass so ends up in the firewall itself with no response.
What is the explanation for this behavior? Is this a hidden feature?
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: Webgui unaccessible when port has a DHCP given address
«
Reply #1 on:
June 25, 2024, 03:54:19 pm »
Did you change the "Listen Interface" for the web UI in any way?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
gdur
Full Member
Posts: 124
Karma: 2
Re: Webgui unaccessible when port has a DHCP given address
«
Reply #2 on:
June 25, 2024, 04:07:33 pm »
Obviously I did, otherwise it also wouldn't work with a fixed IP address...
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: Webgui unaccessible when port has a DHCP given address
«
Reply #3 on:
June 25, 2024, 04:11:17 pm »
Leave the listen interface at "All (recommended)" if you want to connect via a dynamically configured IF.
Otherwise the UI might be started before the interface is ready leading to the observed effects.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
gdur
Full Member
Posts: 124
Karma: 2
Re: Webgui unaccessible when port has a DHCP given address
«
Reply #4 on:
June 25, 2024, 05:35:43 pm »
I left the listen interface at "All " so your answer is not a solution.
Logged
Patrick M. Hausen
Hero Member
Posts: 6848
Karma: 575
Re: Webgui unaccessible when port has a DHCP given address
«
Reply #5 on:
June 25, 2024, 05:45:54 pm »
You wrote that you had changed it "obviously" when I asked for that. If you didn't I am out of ideas for now.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
gdur
Full Member
Posts: 124
Karma: 2
Re: Webgui unaccessible when port has a DHCP given address
«
Reply #6 on:
June 25, 2024, 06:07:14 pm »
Well actually I didn't changed it but I left it as was which is "All" by default. I appreciate your response though.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Webgui unaccessible when port has a DHCP given address