sudo vi /etc/ppp/chap-secrets username pptpd "password" *
配置DNS,取消注释ms-dns,修改DNS,例如,8.8.8.8和8.8.4.4
1
sudo vi /etc/ppp/pptpd-options
1 2 3 4 5 6 7 8 9
# If pppd is acting as a server for Microsoft Windows clients, this # option allows pppd to supply one or two DNS (Domain Name Server) # addresses to the clients. The first instance of this option # specifies the primary DNS address; the second instance (if given) # specifies the secondary DNS address. # Attention! This information may not be taken into account by a Windows # client. See KB311218 in Microsoft's knowledge base for more information. ms-dns 8.8.8.8 ms-dns 8.8.4.4