Use the pptp client to connect to the vpn on ubuntu7.04
Source: Internet
Author: User
I have configured VPN clients for many times in Linux but have not succeeded. After many experiments, I finally succeeded. I will share the configuration process with you. Install two packages: pptp-linux and pptpconfig. Sudoapt-getinstallpptp-linuxpptpconfig runs pptpconfig, which is a graphical client that can be used for configuration and connection. In the pptpconfig window list, the blue color indicates the selected VPN Client, but the blue indicates that the VPN Client has not been configured many times in Linux, this is the final success. I will share the configuration process with you.
Install two packages: pptp-linux and pptpconfig.
Sudo apt-get install pptp-linux pptpconfig
Run pptpconfig, a graphical client that can be used for configuration and connection.
In the pptpconfig window list, the blue color indicates selected, and the light blue indicates not selected. If not selected, configuration or operations cannot be performed.
On the Routing tab, select all to tunnel. If the VPN Server does not require Encryption, the Encryption tab is not selected. You also need to modify the/etc/ppp/options.ppt p file and comment out the require-mppe-128.
Now you can connect to the VPN Server, but the route configured in pptpconfig does not work. You need to manually add it.
Assume that the VPN Server IP address is 202.38.77.77, the Intranet IP address is 192.168.10.1, the Client IP address is 211.86.55.55, the gateway is 211.86.55.1, and the Intranet IP address allocated after connecting to the VPN is 192.168.2.2.
If you only need to access the VPN Intranet and do not need to access the Internet through the VPN Server
Sudo route add-net 192.168.0.0/16 gw 192.168.10.1
If you need to access the VPN Intranet or access the Internet through the VPN Server
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