How to change the web server identification string of your OpenVPN AS Server on Ubuntu 22.04

The default web server identification string of your OpenVPN Server can be one way to identify it in automated vulnerability scanners such as nmap.

To change it to an arbitrary value to reduce the chance of being identified by vulnerability scanners, you can do the following (as root or sudoer):

cd /usr/local/openvpn_as/scripts
./sacli --key "cs.web_server_name" --value "BLABLABLA" ConfigPut
./sacli start

Source: https://openvpn.net/vpn-server-resources/managing-settings-for-the-web-services-from-the-command-line/

That’s it, Enjoy!

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s