Skip to content

Latest commit

 

History

History
124 lines (63 loc) · 3.41 KB

README.md

File metadata and controls

124 lines (63 loc) · 3.41 KB

vpngate-console-client

Simple console client for vpngate (vpngate.net free VPN)

Dependencies

  • wget

  • openvpn

  • dialog

Capabilities

  • Getting a list of servers

  • Sorting the server list

  • Adding additional options to the VPN config

  • Establishing a connection to the server

Script variables.

The script is configured by editing the script variables.

Basic settings.

LISTADDR = "http://www.vpngate.net/api/iphone/" - server list address

LISTFILE = "servers" - a file with a list of servers on the local machine

DATADIR = "./ data" - working directory

DIALOG = "dialog" - a command that calls the dialog utility.

OPENVPN = "openvpn" is the command that calls the openvpn utility.

Authorization settings.

VPN_LOGIN = "vpn" - login.

VPN_PASS = "vpn" - password

AUTH_FILE = "vpngate.auth" - authorization file

AUTH_DIR = "$ DATADIR" - directory with authorization file.

Log settings

LOG_FILE = "" - path to the log file

LOG_TTYN = "3" - send log to the terminal whose number is specified in the variable

RMLOG = 0 - delete log upon exiting the program (0 - do not delete, 1 - delete)

LOG_APPEND = 0 - append log (0 - do not append 1 - append)

Usage

  1. Install package (Slackware) or download main script, routing configuration script and VPN options

  2. If necessary, change the values ​​of the script variables

  3. Change the routing script according to your settings

  4. Run the script (vpngate)

  5. Update the list of VPN servers (Update VPN List main menu item)

  6. If necessary, sort the list of servers and adjust the list of additional VPN options.

  7. Select the menu item Connect VPN ...

  8. Select the required server and click OK

Screenshots

Main Menu

Main menu

Uploading Server List

Loading the server list

Preparing Server List

Preparing the server list

Server list sorting option

Server list sorting option

Sort order

Sort order

VPN Options

VPN options

Select VPN Server

Choosing a VPN Server

VPN Server Information

VPN Server Information

Connecting to Server

Server connection

Disconnecting

Disconnection

Window About

About window

Connection Test

Connection test