External access to GSA web interface / IP

I install openvas 9 on kali. I alreadys install openvas9 and use url But i can’t use my computer’s ip to open this management web.
I try to modify /lib/systemd/system/greenbone-security-assistant.service " --listen=" to " --listen=".
It still open management web https://ip:9392
How do I do? Thanks very much!

Please look for the correct area, Kali is not GOS.So i moved the topic.

I suggest you get back to the Kali Forum this uncoordinated integration is not supported here.

vi /etc/default/greenbone-security-assistant


vi /lib/systemd/system/greenbone-security-assistant.service

systemctl daemon-reload

1 Like

I also modify /etc/default/greenbone-security-assistant
It still not work.

Wish I had found this earlier. This is exactly what I required to get it running.

For /etc/default/greenbone-security-assistant

I set the IP to my server’s IP. Save and then do the following
systemctl daemon-reload followed by the services
service openvas-scanner restart
service openvas-manager restart
service greenbone-security-assistant restart

/lib/systemd/system/greenbone-security-assistant.service, set --listen and --mlisten to and add --allow-header-host yourserver.yourcompany.com

setting the host as the FQDN and save. Run the following:
systemctl daemon-reload
systemctl greenbone-security-assistant

This worked for me. It’s been 10 years since I really used any Unix and I’m very rusty. Happy I got this going. Hopefully it helps. I also setup the A record, which was something I initially forgot.

I am using 5.2.0-kali2-amd64.

1 Like

There is also the following info which was found by @Hillbilly_Hick in Access Kali/OpenVAS (Virtual machine) web GUI from Linux Host on how to make the gsad to listen on all external interfaces / the external IP:

Hi, I installed the latest version of GVM and l’m not able to access the GSA web interface from another machine. Where do I change the default configuration to make it listen to all interfaces?

Version GVM 21.4.

1 Like