解决pptpd server 配置后还是无法访问外网问题

/etc/sysctl.conf 配置

net.ipv4.ip_forward = 1

路由规则命令配置:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

你可能感兴趣的:(linux,pptpd)