Use linux as pptpclient-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. to put it simply, if the firewall of your organization provides a VPN service based on the PPTP protocol, you can access internal machines through external "dialing, just like in a LAN. both Windows NT and Windows 2000 provide this service.
2. Required Software: pptp-linux-1.0.2.tar.gz (available in cernet)
3. Configuration
(1) Compile pptp-linux
(2) vi/etc/ppp/chap-secrets, add
Username * password
^ Username used for Logon ^ Host Name of the other party, just use * ^ Password
Note that if \ exists, it must be written \\
(3) pptp xxx. xxx user username
^ Pptp server address ^ username, which is the same as that in chap-secrets
(4) In this case, you can use ifconfig to see the ppp and the ip addresses of both sides of the ppp connection.
(5) route add-net 172.18.0.0 netmask 255.255.0.0 gw 172.18.0.3
^
Ip address of the peer in the ppp connection
Now you can access the address of 172.18.xxx.xxx.
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