1. 使用routerOS linux image创建一个主机
2. 通过putty连接上routerOS host,执行以下命令
/interface pptp-server server set authentication=mschap1,mschap2 default-profile=default-encryption enabled=yes keepalive-timeout=30 max-mru=1460 max-mtu=1460 mrru=disabled /ppp profile add name=my-profile2 local-address=172.20.21.1 remote-address=172.20.21.2 dns-server=8.8.8.8,8.8.4.4 use-compression=default use-encryption=yes /ppp secret add profile=my-profile2 name=weibovpn password=Hellos12 service=pptp disabled=no /ip firewall nat add action=masquerade chain=srcnat out-interface=ether1 src-address=172.20.21.0/28 disabled=no
https://www.techonia.com/311/mikrotik-pptp-server
时间: 2024-08-09 19:21:08