Awesome Open Source
Awesome Open Source

TCNJ Linux VPN

A command for running a TCNJ VPN on Linux inspired by the lack of official support.

Install

If you have curl installed (or can install it by running sudo apt install curl):

$ curl -L https://raw.githubusercontent.com/TomerAberbach/tcnj-vpn/main/install.sh | sudo bash

Otherwise download the install script and execute it:

$ sudo ./install.sh

Set up multifactor authentication with Duo (TCNJ requires it).

Usage

To connect to the VPN simply run the following command from any directory, enter your password when prompted, and authenticate via the device you set up with Duo:

$ tcnj-vpn

You may ignore any output unrelated to incorrect credentials.

Note that you will be unable to work from the terminal window where you ran the command so simply open another terminal window if you wish to continue working. Alternatively you could run the command in the background.

To disconnect simply open the terminal window where you ran the tcnj-vpn command and press CTRL+C.

Uninstall

If you have curl installed (or can install it by running sudo apt install curl):

$ curl -L https://raw.githubusercontent.com/TomerAberbach/tcnj-vpn/main/uninstall.sh | sudo bash

Otherwise download the uninstall script and execute it:

$ sudo ./uninstall.sh

Issues

If you encounter any issues while running install.sh or uninstall.sh please create an issue.

While you wait for the issue to be resolved feel free to manually install the TCNJ Linux VPN using the tutorial.

License

MIT Tomer Aberbach


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (229,754
Linux (17,146
Bash (7,179
Command Line (3,963
Ubuntu (3,425
Vpn (1,112
Vpn Client (137
Duo (37
Openconnect (33
Tcnj (4
Related Projects