Centos7 安装 PPTP

date
Feb 9, 2022
slug
centos-install-pptp
status
Published
tags
CentOS
summary
type
Post
  • 安装依赖:yum install -y ppp pptp pptp-setup
  • 配置:pptpsetup --create vpn --server <服务器> --username <用户名> --password <密码> --encrypt --start
    • MPPE加密,pptpsetup时不需要使用–encrypt
    • 出现 LCP: timeout sending Config-Requests Connection terminated. 可能是防火墙的问题
  • 配置路由:
    • route -n
    • ip route replace default dev ppp0 or route add -net 192.168.1.0/24 gw 192.168.1.1 dev ppp0
    •  

Copyright © 2022 - 2025 Levi