Skip to content

Client Script

thedunston edited this page Mar 29, 2021 · 2 revisions

Since the VPN IP may be behind NAT, the client scripts will need to be edited manually before distributing to users to setup their VPN peer.

Edit the client script client-nowire.sh and add the FQDN of your Public VPN server IP or hostname.

vpn_server=""

and

ping_ip=""

The ping_ip should be a host that the user can ping when they connect to the VPN to test their connectivity is working.

On the VPN peers

Linux

Run the script:

sudo bash client-nowire.sh -h

to see options.

The command will check to ensure all the appropriate packages are installed, download missing packages (if necessary), and then prompt the user for the SSH username and SSH Password.

sudo bash client-nowire.sh -i

Powershell

The Powershell script will elevate the user if they are not running as an administrator.

Double-click on the Powershell script and a menu will appear with the available options.

Clone this wiki locally