OpenVPN

Installation

Create an empty directory on your free commit server and run:

wget https://git.io/vpn -O openvpn-install.sh && chmod +x openvpn-install.sh && sudo ./openvpn-install.sh
  • Select the public IP

  • Select UDP protocol

  • Use default port (1194)

  • Select "Default system resolvers"

  • Don't create any user (press enter with blank entry)

⚠️ Consider opening port 1194 in UDP from free commit

Build client pool

wget https://raw.githubusercontent.com/romainlavabre/backend-free-commit/refs/heads/master/ovpn/build-pool.sh
sudo bash build-pool.sh {NUMBER OF EXECUTOR}

This script will build your client pool.

Use VPN only for specific IP

wget https://raw.githubusercontent.com/romainlavabre/backend-free-commit/refs/heads/master/ovpn/add-host.sh && chmod +x add-host.sh

And add your host

sudo ./add-host.sh X.X.X.X

You have to recreate your clients

Last updated