Skip to content
/ PYtunl Public

Command line client for Pritunl (python version)

Notifications You must be signed in to change notification settings

cghdev/PYtunl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYtunl

NOTE: PYtunl is no longer maintained. The Go version of this program can be used instead: https://github.com/cghdev/gotunl-vpn

PYtunl is a command line client for Pritunl written in Python.

At the moment is only supported in MacOS.

Usage:

usage: vpn.py [-h] [-l] [-c <profile>] [-d <profile>] [-o <format>]

Pritunl command line client.

optional arguments:
  -h, --help                            show this help message and exit
  -l, --list                            List connections.
  -c <profile>, --connect <profile>     Connects to <profile>.
  -d <profile>, --disconnect <profile>  Disconnects <profile> or "all".
  -o <format>, --output <format>        Selects output format for listing
                                        connections (json, table). Default
                                        "table".

Examples:

$ ./vpn.py -l
+------+------------------------+--------------+
|   ID | Name                   | Status       |
|------+------------------------+--------------|
|    1 | US VPN                 | Disconnected |
|    2 | UK VPN                 | Disconnected |
|    3 | Netherlands VPN        | Disconnected |
|    4 | Hong Kong VPN          | Disconnected |
|    5 | Test VPN               | Disconnected |
+------+------------------------+--------------+
$ ./vpn.py -c 3
$ ./vpn.py --connect "Test VPN"
Enter the username: user1
Enter the password:
$ ./vpn.py --list
+------+------------------------+--------------+
|   ID | Name                   | Status       |
|------+------------------------+--------------|
|    1 | US VPN                 | Disconnected |
|    2 | UK VPN                 | Disconnected |
|    3 | Netherlands VPN        | Connected    |
|    4 | Hong Kong VPN          | Disconnected |
|    5 | Test VPN               | Connected    |
+------+------------------------+--------------+
$ ./vpn.py -d all

About

Command line client for Pritunl (python version)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages