IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Ubuntu 14.04配置PPTP VPN

    肖庆发表于 2015-07-20 15:48:45
    love 0
    apt-get install pptpd
    nano /etc/pptpd.conf
    localip 10.0.0.1
    remoteip 10.0.0.100-200
    
    nano /etc/ppp/chap-secrets
    
    username pptpd password *
    
    nano /etc/ppp/pptpd-options
    ms-dns 8.8.8.8
    ms-dns 8.8.4.4
    service pptpd restart
    
    nano /etc/sysctl.conf
    net.ipv4.ip_forward = 1
    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save


沪ICP备19023445号-2号
友情链接