Hey, I changed the listing port to my external ip of the server.
But my browsers won´t allow access due to invalid certifcate. Tried to import the certficate to the root store. But chrome is not providing a “add execption” button, IE / Edge either.
What can I do to get access to the webinterface ? Locally on the server everything works fine
Listen on external interface
/lib/systemd/system/
sed -e ‘s/127.0.0.1/0.0.0.0/g’ greenbone-security-assistant.service openvas-manager.service openvas-scanner.service
sed -e ‘s/127.0.0.1/0.0.0.0/g’ greenbone-security-assistant.service openvas-manager.service openvas-scanner.service -i
systemctl daemon-reload
systemctl restart greenbone-security-assistant.service openvas-manager.service openvas-scanner.service
update
Installed Firefox - I could set an excpetion here, but afterwards:
The request contained an unknown or invalid Host header. If you are trying to access GSA via its hostname or a proxy, make sure GSA is set up to allow it.
I am not using a hostname or domain.
I tried
gsad --allow-header-host
but no change
OK- got it - at least in Firefox browser
edited /lib/systemd/system/greenbone-security-assistant.service
[Unit]
Description=Greenbone Security Assistant
Documentation=man:gsad(8) http://www.openvas.org/
Wants=openvas-manager.service
[Service]
Type=simple
PIDFile=/var/run/gsad.pid
ExecStart=/usr/sbin/gsad --foreground --listen=0.0.0.0 --port=9392 --mlisten=0.0.0.0 --mport=9390 --allow-header-host my_external_ip
root@KALI:~# systemctl daemon-reload
root@KALI:~# systemctl restart greenbone-security-assistant.service