banner
年糕

年糕日记

此站为备份站点,最新文章请访问 oior.net
telegram
email

Access the campus network without authentication using UDP53.

Server Environment Setup#

  • Install SoftEther VPN Server

Connect to your VPS using an SSH tool, and update the yum repository.

yum update

Confirm by typing 'y', then install the required libraries.

yum -y install gcc zlib-devel openssl-devel readline-devel ncurses-devel

If you are using Ubuntu, use apt-get as the package manager.

Download the SoftEther VPN Server from the current directory /root.

wget http://oks2t4o68.bkt.clouddn.com/softether-vpnserver-v4.22-9634-beta-2016.11.27-linux-x64-64bit.tar.gz

Unzip the file.

tar -zvxf softether-vpnserver-v4.22-9634-beta-2016.11.27-linux-x64-64bit.tar.gz

Go to the directory and install.

cd vpnserver
make

Select option 1 for all.

After installation, enter the following command in the current directory.

./vpnserver start

Start the service.

  • Configure SoftEther VPN Server

./vpncmd

Enter 1, press Enter twice, then enter:

ServerPasswordSet

Set the server password. The server-side deployment is now complete.

Manage SoftEther VPN Server#

Now, go back to your PC. For example, if you are using Windows 10, first download the latest version from the official website https://www.softether-download.com/cn.aspx?product=softether, then install the management tool and open slmgr.exe.

Click on "New Setting".

image

Enter your VPS server IP in the Host Name field, and enter the password you just set.

Close the pop-up settings and go to the main interface.

image

Click on "Manage Virtual HUB".

image

Then click on "Manage Users".

image

Click on "Create".

image

Configure as shown in the image, and enter your own username and password.

Go back to the "Manage Virtual HUB" interface, click on the DHCP server of the virtual NAT, and enable SecureNAT.

image

Change the port to 53, and click on "Generate Configuration Sample File for OpenVPN Client" to save it to a location.

image

Configure OpenVPN#

Download OpenVPN from the official website https://openvpn.net/index.php/open-source/downloads.html, choose the Windows version, install it, and open it. Click on "Import file" to import the file with the 'l3' extension from the sample file into the OpenVPN configuration directory.

image

image

After importing, click on "Connect".

image

Enter the username and password from your virtual HUB, check "Save password", and if you see this prompt, it means the setup was successful.

image

Now you can log out of the authentication and try connecting again. You will still be able to access the internet.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.