Webif not reachable, firewall works fine?

Started by Bytechanger, April 27, 2021, 06:39:23 AM

Previous topic - Next topic
April 27, 2021, 06:39:23 AM Last Edit: April 27, 2021, 06:51:01 AM by Bytechanger
Hi,

after I reboot my firewall, my webif wasn´t reachable.
I can reach OPNSense via ssh and all other seems to work fine (internet access, etc.).

Try to start WebIf later with "sudo /usr/local/etc/rc.restart_webgui".
After reboot twice (sudo reboot) it doesn´t work.

Then I reload an older Backup and it seems to work.
When I change some options and reboot, same issue, webif not reachable, firewall works fine.

In systemlog I can only find few entries, but that seems to come from the attempt to bind the webif to all interfaces, ALL OTHER tries are not on this log :
/usr/local/etc/rc.bootup: The command '/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf' returned exit code '255', the output was '2021-04-26 23:19:39: network.c.369) can't bind to socket: [2a00:6020:xx:xx:xx:xx:xx:xx]:4444: Can't assign requested address' (my webif runs on Port 4444).

Is there any other logfile for lighttpd or a solution?

/var/log/lighttpd.log

Apr 26 23:25:52 OPNsense lighttpd[84815]: (server.c.1513) server started (lighttpd/1.4.59)
Apr 26 23:25:52 OPNsense lighttpd[84815]: (mod_deflate.c.567) DEPRECATED: compress.filetype replaced with deflate.mimetypes
Apr 26 23:25:52 OPNsense lighttpd[84815]: (mod_deflate.c.580) DEPRECATED: compress.cache-dir replaced with deflate.cache-dir


I don't dare to reboot anymore.

Greets

Byte

By the way,
  it can´t be a false firewal rule (access over ssh is possible) and also pfctl -d doesn´t fix that problem.
It seems that lighttpd is the fault?!

Greets

Byte