Hey. Sorry, did not know which section to address.
I have OpenVAS 10. How can I change the address for gui? Now used http://localhost:4000
Try
gsad --help
This will detail the various options you have for running gsad.
You are probably looking for
-p, --port=<number> Use port number <number>.
Not a port, but an address.
If you do this, then connecting to http://192.168.1.150:4000 does not work:
service gsad stop
gsad --listen=192.168.1.150
service gsad start
update:
I apologize. It turns out the connection does not even go to localhost.
Maybe something else needs to be done?
I’m trying to deploy openvas 10 on ubuntu 18.04. I take the instruction here: https://launchpad.net/~mrazavi/+archive/ubuntu/gvm, as well as the package itself.
After replenishment:
add-apt-repository ppa:mrazavi/gvm
apt -y install gvm bzip2 links
greenbone-nvt-sync
greenbone-scapdata-sync
greenbone-certdata-sync
systemctl restart gvmd
systemctl restart openvas-scanner
systemctl restart gsad
links http://localhost:4000
Not a port, but an address.
If you do this, then connecting to http:// 192.168.1.150:4000 does not work:
service gsad stop
gsad --listen=192.168.1.150
service gsad start
update:
I apologize. It turns out the connection does not even go to localhost.
Maybe something else needs to be done?
I’m trying to deploy openvas 10 on ubuntu 18.04. I take the instruction here: https:// launchpad.net/~mrazavi/+archive/ubuntu/gvm, as well as the package itself.
After replenishment:
add-apt-repository ppa:mrazavi/gvm
apt -y install gvm bzip2 links
greenbone-nvt-sync
greenbone-scapdata-sync
greenbone-certdata-sync
systemctl restart gvmd
systemctl restart openvas-scanner
systemctl restart gsad
links http://localhost:4000
Error loading http:// localhost:4000/:
Error reading socket
This is a third-party integration. Please contact the authors of the packages you used.
Greenbone only provides and supports the plain sources (GSE), the community edition (GCE) and of course the commercial solutions.
Since you’re using the Ubuntu packages provided by mrazavi:
You need to edit the file /etc/default/gsad – it contains the list of variables/settings which are then passed to the invocation of gsad.
By default, gsad is binding to localhost port 4000.
In order to make gsad reachable from the outside world I changed theses settings:
PORT_NUMBER=443
SSL_PRIVATE_KEY=/etc/ssl/private/privkey.pem
SSL_CERTIFICATE=/etc/ssl/certs/cert_and_chain.pem
I used port 443 and the key/certificate settings, since my GSAD can be reached via https:// only.