Configure VPN for Ubuntu and Windows

Source: Internet
Author: User
VPN (VirtualPrivateNetwork) refers to the technology for establishing a private network on a public network. VPN is a remote access technology that uses public links to build private networks. It mainly uses tunnel technology, encryption and decryption technology, key management technology, and user and device identity authentication technology. Method 1: 1) set vpn & mdash; & gt; Set General & mdash; & gt; Gatew in sequence

Virtual Private Network (VPN) refers to the technology for establishing a Private Network on a public Network.

VPN is a remote access technology that uses public links to build private networks. It mainly uses tunnel technology, encryption and decryption technology, key management technology, and user and device identity authentication technology.

Method 1:

1) set vpn settings-> set General-> Gateway, Optional-> User name + Password-> and remove "Availabel to all users"

 

2) Advanced-> select "Use Point-to-Point encryption (MPPE)"-> remove "MSCHAP" and OK

 

Symptoms:

Click Connect vpn on Ubuntu to display "VPN service startup failed"

Open the terminal and run sudo vim/var/log/syslog To view the system logs:
Apr 11 01:27:55 mvc-PC NetworkManager [2652]: VPN plugin state changed: 3
Apr 11 01:27:55 mvc-PC NetworkManager [2652]: VPN connection 'vpn pa' (Connect) reply already ed.
Apr 11 01:27:55 mvc-PC NetworkManager [2652]: VPN connection 'vpn pa' failed to connect: 'No VPN secrets! '.
Apr 11 01:27:55 mvc-PC NetworkManager [2652]: error disconnecting VPN: cocould not process the request because no VPN connection was active.
The prompt here is: "No VPN secrets !", Ubuntu develops a security policy called keyring (key ring) for network connection operations, that is, the network can be used only after the key ring authentication.
Open the system-> preferences-> password and encryption key to view the vpn that was previously set and can be used normally. The newly set vpn has no relevant records.

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.