How to Setup and Use Softether VPN Server?

Source: Internet
Author: User
Keywords softether vpn set up softether vpn server how to use softether vpn server

Introduction: SoftEther VPN is an open source, cross-platform, multi-protocol virtual private network solution developed by Daiyuu Nobori graduate student of Tsukuba University for his master's thesis. He makes some virtual private network protocols such as SSL VPN, L2TP, IPsec, OpenVPN and Microsoft SSTP all provided by the same single VPN server. It was released under the terms of the GNU General Public License on January 4, 2014. SothEther VPN is specifically designed to pass through firewalls. It supports NAT penetration, enabling him to cross the firewall of the government or organization and set up a virtual private network server. Because HTTPS is used to masquerade the connection, the firewall's deep packet inspection cannot detect the VPN tunnel formed by SofthEther's VPN sending packets. But SoftEther's SSL VPN protocol is still blocked in parts of mainland China. Performance optimization is also a goal of SoftEther VPN. It uses a strategy such as using all Ethernet frames to reduce the operation of memory replication, parallel transmission and clustering, which reduces the delay usually associated with VPN connections and increases the throughput of transportation. Simply put, it is a VPN, which supports convenient management of multiple servers and multiple clients. It is suitable for large-scale VPN networks. The VPN function is very powerful. If you are interested, you can study it in depth.

Simple Application Server
USD1.00 New User Coupon
* Only 3,000 coupons available.
* Each new user can only get one coupon(except users from distributors).
* The coupon is valid for 30 days from the date of receipt.

1. Copy SoftEtherVPN-master.zip to the /usr/local directory in the linux server, and then enter the password to unzip unzip SoftEtherVPN-master.zip
Installation environment support:
cd /usr/local

rz [SoftEtherVPN-master.zip local URL]

yum -y groupinstall "Development Tools"

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

Enter our unzipped SoftEtherVPN-master folder

cd /usr/local/SoftEtherVPN-master
./configure

Select the version according to the system
Compile and install

make && make install

Start the service after installation
/usr/vpnserver/vpnserver start
or
vpnserver start #Start the service
vpnserver stop #Close the service

2. Install the management software under the windows computer to configure the VPN server, and create the corresponding account and password.
The installation software is: softether-vpnserver_vpnbridge-v1.00-9029-rc2-2013.03.16-windows-x86_x64-intel.exe
Open this software

3. Click "New Settings"

4. The first time you use the vpn manager to configure.
-Set name: I just picked test1
-Host name: the IP address of the VPN server, my linux vpn server IP is 2.2.2.2, the port number defaults to 443, do not change
-Select "Server Management Mode"
-Please enter the password to connect to the management mode: do not enter the password if the password is empty

Then click connect

In the pop-up box, do not enter the password. The password of the new VPN server is empty by default, click [OK]

Then enter the new password for VPN management, remember it, and use it for future management.

5. Select "Remote Access VPN server"

6. Select "Yes"

7. Pop up the virtual HUB name: softether VPN, then click "OK"

8. Pop up "Dynamic DNS Function", click "Exit"

9. In the pop-up box, select "Disable VPN Azure", and then click "OK"

10. Select "Create User"

11.-User name: such as zhangsan Full name: such as zhangsan Description: zhangsan
-Verification type: select "password verification"
-Password authentication setting: enter the password. Remember, we will use this account password to log in to the client's VPN later.

Finally select "OK"

12. It will prompt the user zhangsan has been created, click "OK".

13. "Manage users" will pop up, and the user name created just now will be displayed. This user is what we will use to connect with the windows client client software later. Click "Close" on this page.

14. Click "Close" on this page

15. Important. In the following management page, select the "Virtual HUB" [softether VPN] just created, and click [Manage Virtual HUB]

16. Select [Virtual NAT and Virtual DHCP Server]

17. Select "Enable SecureNAT"

18. "Are you sure to enable SecureNAT" pops up and select Enable. This function is to start the nat DHCP address pool and assign IP addresses to the subsequent clients.

19. In the pop-up box behind, enabling SsecureNAT turns gray, indicating that the enabling is successful. Select "Close" below. If you want to configure the network segment of the DHCP address pool by yourself, you can click [SecureNAT Configuration] without changing the default.

20. All the configurations of softether VPN server management are completed here. Click close on other pages.

21. Find two windows computers, also download and install softether-vpnclient-v4.19-9599-beta-2015.10.19-windows-x86_x64-intel.exe software, then open the installed software and select [Add a new VPN connection]

22. The pop-up box
-Connection setting name: write whatever you want, I write testA
-Host name: IP address of the linux VPN server: 2.2.2.2
-Port number: default 443
-Virtual HUB name: As long as your computer network is normal, it will automatically recognize the previously set HUB name "softether VPN"
-Authentication type: standard password verification
-Username: zhangsan This is the user we created earlier
-Password: This is the user password we established earlier
Finally click "OK"

23. Right-click "testA" and select "Connect"

24. If the connection is successful, this box will pop up soon and you will be prompted to assign an IP address. Make a note of the IP address, because you will use this IP address when you connect another windows computer to this windows computer.

25. In this way, this windows computer dials the softether vpn server. Another computer also uses this method to connect, refer to steps 21-24.If the connection is successful, this box will pop up soon, and you will be prompted to assign an IP address. Make a note of the IP address, because you will use this IP address when you connect another windows computer to this windows computer.
26. For example, computers A and B are connected to the softether VPN server, so computers A and B will be in the same LAN. Later, if you want to use the remote software "VNC viewer", or directly run the "Remote Desktop Connection" in windows, enter the IP address, host account, and host password assigned by the other host's softether VPN, and then you can communicate.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.