Skip to content

Jzzzi/THU-VPN-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

THU VPN on Ubuntu

This code is used to launch THU SSLVPN on linux device quickly in a script, skiping the process of typing the password.

Install

To install the script, you need to install openconnect and expect first, if you are using Debian or Ubuntu, you can install them by the following command.

sudo apt install openconnect expect

Then replace the sudo password, thu username and thu password in the script thu-vpn_launch.sh.

set sudo_password "your sudo password"
set vpn_username "your thu username"
set vpn_password "your thu password"

Then you can run the script to launch the THU SSLVPN.

./thu-vpn_launch.sh

Quick Start

You can also modify your ~/.bashrc to add an alias to launch the script. Add the following line to the end of the file.

alias thu-vpn="~/path/to/thu-vpn_launch.sh"

Then you can launch the THU SSLVPN by typing thu-vpn in the terminal.

FYI

The other information tsinghua campus network can be found in THU Services

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages