Build VPNServer in CentOS6

Source: Internet
Author: User
CentOS6 build VPNServer # install yum source and pptpd service rpm-Uvhhttp: // Configure
CentOS 6 build VPN Server # install yum source, and pptpd service rpm-Uvh http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpmyum install-y ppp pptpd iptables # Edit sysctl. conf file, open the IP packet forwarding vi/etc/sysctl. confnet. ipv4.ip _ forward = 1 # Save Settings/sbin/sysctl -pwww.2cto.com # set pptpdvi/etc/ppp/options.ppt pdname vpsrefuse-paprefuse-chaprefuse-mschaprequire-mschap-v2require-mppe-128proxyarpnobsdcompnovjnovjccompnologfdms-dns 4.2.2.1ms-dns 4.2.2.2 # set pptpdvi/etc/pptpd. confoption/etc/ppp/options.ppt commandid 10.10.10.2-254 www.2cto.com # set iptablesiptables-t nat-Fiptables-t nat-a postrouting-o eth0-s 10.10.10.0/24-j accept-t nat-L-nservice iptables save # add to start chkconfig -- level 345 pptpd on # start vpn server/etc/init. d/pptpd start # add the vpn user name and password vpnuser username passwd

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.