CentOS5.3上安装配置PPTPD-VPN

九月 20th, 2009 Posted in 1.操作系统, Centos, VPN | 阅读次数: 694 次

制作:高进波
时间:2009-09-20

1.安装PPP
yum install ppp

2.配置pptpd源
vi /etc/yum.repos.d/pptpd.repo
[pptpd]
name=Doylenet hugwww for centos
baseurl=http://files.doylenet.net/linux/yum/centos/5/i386/doylenet/
gpgcheck=1
gpgkey=http://files.doylenet.net/linux/yum/centos/RPM-GPG-KEY-rdoyle
enabled=1

3.更新安装PPTPD
yum update
yum install pptpd

4.配置
vi /etc/pptpd.conf
localip 10.0.0.2
remoteip 10.0.0.100-200

5.添加用户密码
vi /etc/ppp/chap-secrets
username * pass *

6.启动服务
service pptpd start

完成!

相关日志:

Tags: ,

5 Responses to “CentOS5.3上安装配置PPTPD-VPN”

  1. Treat a Yeast Infection Says:

    Recent Favourite Sites…

    [...]below you’ll find my recommended links page http://www.yeastinfectiontreatmentcure.net/links/ with some good websites that I think you should go visit[...]…


  2. Yeast Infection Home Remedy Says:

    Recent Favourite Sites…

    [...]below you can check out my recommended links page http://www.yeastinfectiontreatmentcure.net/links/ with some great websites that I think you should go visit[...]…


  3. Resources Says:

    Related Websites…

    [...]some other related resources on the web that are worth viewing on this subject include[...]…


  4. charles Says:

    我按你这个配置 客户端可以连上vpn
    但是上不了网?请问如何解决?
    linux服务器我关了iptables


  5. gaojinbo Says:

    上网还需要配置nat


留下您的脚印