Skip to content

How to run VpnHood Server on Linux

Trudy edited this page Jan 18, 2023 · 15 revisions

This installation required root access. If you don't have root access check the following page:
How to run VpnHood Server on Linux without ROOT access

Note: You can also use VpnHood Access Server to install and manage your server with UI. see VpnHood Access Server.

Run the following Bash command for x64 architecture

sudo su -c "bash <( wget -qO- https://github.com/vpnhood/VpnHood/releases/latest/download/VpnHoodServer-linux-x64.sh)"

Run the following Bash command for arm64 architecture

sudo su -c "bash <( wget -qO- https://github.com/vpnhood/VpnHood/releases/latest/download/VpnHoodServer-linux-arm64.sh)"

Run the following command to generate an access key

sudo /opt/VpnHoodServer/vhserver gen

Start / Stop by Service

You can start / stop the VpnHoodServer if you choose "Auto Start" in the installation script.

sudo systemctl stop VpnHoodServer
sudo systemctl start VpnHoodServer

Start / Stop without service

sudo /opt/VpnHoodServer/vhserver stop
sudo /opt/VpnHoodServer/vhserver start

Configuration

VpnHood Server runs on port 443 (HTTPS) by default without any configuration. For more information check VpnHood Server Configuration.