OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: 134 on May 15, 2024, 10:31:47 AM

Title: Can't access Opnsense Web GUI from Road warrior Wireguard client
Post by: 134 on May 15, 2024, 10:31:47 AM
I followed this tutorial on official documenation: WireGuard Road Warrior Setup (https://docs.opnsense.org/manual/how-tos/wireguard-client.html)

WG road warrior clients has no problem connecting to internal networks, except that they can't access Web GUI. Firewall allowed the connection and i can see that traffic to Opnsense Web GUI is passed in firewall logs.

I also have Web UI listen to 'HomeWireguard' interface in System > Settings > Administration. There is no log in System > Logs File > Web GUI although i had access log enabled.

Only if i had to manually restart lighttpd, i can access WebUI. It's broken again once i reboot Opnsense until i manually restart webserver.

I suspect that lighttpd service tried to bind to 'HomeWireguard' interface before the this interface is active? Does this sound like a bug?

Is there anyway for me to further debug this problem on my end? I'm seeing no web UI log.

Thank for help!
Title: Re: Can't access Opnsense Web GUI from Road warrior Wireguard client
Post by: Patrick M. Hausen on May 15, 2024, 10:40:13 AM
Always bind the UI to "all (recommended)". The "recommended" part is there for a reason.