Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Lighttpd not listening on WG interface at boot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lighttpd not listening on WG interface at boot (Read 506 times)
arkanoid
Newbie
Posts: 35
Karma: 1
Lighttpd not listening on WG interface at boot
«
on:
July 02, 2024, 12:13:35 pm »
Hello
I want to have opnsense web config served on LAN and WG interfaces, and leave WAN for haproxy, but if a wireguard interface is selected in "System: Settings: Administration" as listening interface for HTTPS it is ignored at boot, but it works when applied manually after boot.
"sockstat -4 -l" shows that lighttps is NOT listening on wireguard interface after boot
So I have a configuration that works before rebooting, and works again after boot if and only if I reapply the very same listening knterfaces preferences.
how can I fix this?
Thanks
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1622
Karma: 178
Re: Lighttpd not listening on WG interface at boot
«
Reply #1 on:
July 02, 2024, 12:38:28 pm »
Well, yeah, as stated in the docs.
https://docs.opnsense.org/manual/settingsmenu.html#listen-interfaces
Logged
Hardware:
DEC740
arkanoid
Newbie
Posts: 35
Karma: 1
Re: Lighttpd not listening on WG interface at boot
«
Reply #2 on:
July 03, 2024, 01:20:41 pm »
Thanks for the answer, you're right.
I give up with the idea to serve webconfig internally on port 443
thanks
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1622
Karma: 178
Re: Lighttpd not listening on WG interface at boot
«
Reply #3 on:
July 03, 2024, 01:44:19 pm »
You could, by reverse proxying it.
For example with Caddy.
https://docs.opnsense.org/manual/how-tos/caddy.html#reverse-proxy-the-opnsense-webgui
But I'm sure you can also reverse proxy it someway with HA Proxy.
Logged
Hardware:
DEC740
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Lighttpd not listening on WG interface at boot