扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:简单网络 来源:简单网络 2008年4月7日
关键字: dlink设置
步骤一:Objects ->Address book -> InterfaceAddresses:
Edit the following items:
Change lan_ip to 192.168.1.1
Change lannet to 192.168.1.0/24
Change wan1_ip to 172.18.224.253
Change wan1net to 172.18.224.0/24
步骤二:Add a new IP4 Host/Network object:
Name: gw
IP Address: 172.18.224.254
Name: pptp-server-ip
IP Address: 10.1.1.1
Name:pptp-ip-pool
IP Address: 10.1.1.2-10.1.1.100
步骤三:Interfaces -> Ethernet:
The settings for the wan1 interface should be:
IP Address: wan1_ip
Network: wan1net
Default Gateway: gw
步骤四:User Authentication -> Local User Databases.
Add a new Local Userdatabase
Name: pptp-user
步骤五:User Authentication -> Local User Databases ->pptp-user
Name: dlink
Password: dlink
Confirm Password: dlink
步骤六:Interfaces -> L2TP/PPTP Servers.
Name: PPTP-tun
Inner IP Address: pptp-server-ip
Tunnel Protocol: PPTP
Outer Interface Filter: wan1
Server IP: wan1-ip
PPP Parameters
IP Pool: pptp_ip-pool
步骤七:User Authentication -> User Authentication Rules.
Name: PPTP-auth
Agent: PPP
Authentication Source: Local
Interface: pptp-tun
Originator IP: all-nets
Terminator IP: wan1-ip
Authentication Options
Local User DB: pptp-user
步骤八:Rules > IP Rules > Add > IP Rule:
Name: allow-pptp-lan1
Action:allow
Service: all-services
Source Interface: pptp-tun
Source Network: pptp-ip-pool
Destination Interface: lan1
Destination Network: lan1net
步骤九:Rules > IP Rules > Add > IP Rule:
Name: allow-pptp-wan1
Action: nat
Service: all-services
Source Interface: pptp-tun
Source Network:pptp-ip-pool
Destination Interface: wan1
Destination Network: all-nets
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者