Linux PPTP dialing

Source: Internet
Author: User

Test environment: Linux marsboard 3.4.90 #9 SMP PREEMPT Thu Mar 3 18:28:43 CST armv7l armv7l armv7l gnu/linux (note: A20 Core Board)

Method: Use a PPTP program to dial

Prerequisite: The PPP,PPPD,PPTP program is installed

Description: Documents involved/etc/network/interfaces,/etc/ppp/chap-secrets,/etc/ppp/peers/vpn (self-created),

Note: In the content, the same color tag, is relevant. The method does not involve the MMPE encryption

Specific steps:

1, installation of PPP, PPPD, PPTP program, General PPP, PPPD system will be brought, using Apt-get install Pptp-linux command according to PPTP

2, add the following content in/etc/network/interfaces:

Auto Ppp0

Iface ppp0 inet PPP

Provider VPN

3, add the following content in/etc/ppp/chap-secrets:

username  PPTP YourPassword *

4, new/etc/ppp/peers/VPN file, add the following:

Name username

RemoteName PPTP

Replacedefaultroute

Password yourpassword

File "PPTP vpn_server_ip --NOLAUNCHPPPD"

Description: The name of PPTP is consistent with PPTP in step 3; VPN_SERVER_IP is the VPN server IP address

5. Use Ifup ppp0 to start the connection, use Ifdown ppp0 to close the connection

6, Results view: Use Ifconfig to see whether Ppp0 appears, and then ping the relevant IP verification can be. If Ifup ppp0 not respond, can ifdown ppp0 after, then Ifup ppp0

Reference from: Http://wenku.baidu.com/link?url=hLBeA-mQkgeKHmxu7U_ Ceivp-fexihvmewywamrdxhntaw0jq2ph4bwefzayk0m0fuuhotpunhgp4s9hbuq_lavfwz_u00rgclgh8yhg_fq

Linux PPTP dialing

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.