Skip to content

Setting up the Openvas Security Scanner

flexiOPS edited this page Mar 3, 2017 · 2 revisions

Installation/Setup

The quickest way to get the Openvas security scanner up and running is to run it inside a docker image. The docker image created by @mikesplain is a great place to start. The Github page for this can be found here.

The instructions given on the linked Github page provide a good introduction on how to set up openvas inside docker. The only step that should be modified for the purposes of this tool set are the ports set to be used by the docker image.

Instead of

docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 --name openvas mikesplain/openvas

Use

docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 -p 8341:8341 -p 8342:8342 -p 8343:8343 -p 8344:8344 --name openvas mikesplain/openvas

This allocates ports 8341, 8342, 8343 and 8344 to the docker image, in addition to 443,9390,9391.

These ports in the rang 8341-8344 are used by the VulnerabilityScanner application when receiving requests from different cloud providers, and need to be opened for this toolset to function correctly.