/ ppp profile add change-tcp-mss=no dns-server=20.0.0.1 \
memset(t->name,0,20)。> [/domain:name> [/yes> [/savepw:no>。cache_peer 58.20.249.157 parent 3128 0 no-query weighted-round-robin weight=1 connect-fail-limit=2 allow-miss max-conn=5 name=58.20.249.157390。
remote-address=PPTPpool-1 use-encryption=yes



Limits选项卡可以配置限制上传下载速度以及是否允许VPN帐号重复拨号

创建PPTP VPN用户
Service:选择pptp
Profile:选择前面创建的Profile
Remote Address:用来指定该账户拨号后获取的固定IP

/ppp secret add name=001 password=001 service=pptp profile=PPTP1

添加PPTP Server

配置完成客户端就可以进行拨入了

拨入不能上网的话需要添加NAT
选择IP-》firewall-》nat添加新策略
在新NAT Rule中选择Chain为srcnat,配置源地址和目的地址后,Action选择masquerade自动翻转。
VPN的虚拟网段20.0.0.0/24 到办公内网网段10.0.0.0/24
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-94461-2.html
很对很对我也这么认为
美国佬就跑路了