《D-LinkDF2500调试》由会员分享,可在线阅读,更多相关《D-LinkDF2500调试(24页珍藏版)》请在金锄头文库上搜索。
1、防火墙调试郭延平修改调试内容 pppoe连接上网设置 固定IP上网设置 透明桥设置 开web服务器的设置 只让访问web,收发email的设置 pptp server的设置 与DI-804HV建立ipsec vpn的设置 控制电脑上网的设置 控制某些服务带宽的设置固定IP上网设置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.
2、253 Change wan1net to 172.18.224.0/24 Add a new IP4 Host/Network object: Name: gw IP Address: 172.18.224.254 Interfaces - Ethernet: The settings for the wan1 interface should be: IP Address: wan1_ip Network: wan1net Default Gateway: gw Click OK. configuration - Save and activate 动态IP上网设置 Interfaces
3、- Ethernet: The settings for the wan1 interface should be: IP Address: wan1_ip Network: wan1net Default Gateway:none Enable DHCP Client Click OK. configuration - Save and activate pppoe连接上网设置 Interfaces - PPPoE Tunnels: Add a new PPPoE tunnel. Name: PPPoEClient Physical Interface: WAN1 Remote Networ
4、k: all-nets Authentication: Username: dlink Password: dlink Confirm password: dlink Click OK. configuration - Save and activate 透明桥设置Objects -Address book - InterfaceAddresses: Edit the following items: Change lan2_ip to 172.18.224.253 Change lan2net to 172.18.224.0/24 Change wan2_ip to 172.18.224.2
5、52 Change wan2net to 172.18.224.0/24 Add a new IP4 Host/Network object: Name: gw IP Address: 172.18.224.254 Interfaces - Ethernet: The settings for the lan interface should be: IP Address: lan2_ip Network: lan2net Default Gateway: none Select Enable Transparent Mode checkbox Click OK The settings fo
6、r the wan2 interface should be: IP Address: wan2_ip Network: wan2net Default Gateway: gw Select Enable Transparent Mode checkbox Click OK. configuration - Save and activate web服务器的设置Objects -Address book - InterfaceAddresses: Edit the following items: Change lan_ip to 192.168.1.1 Change lannet to 19
7、2.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: http-public-ip IP Address: 172.18.224.2 Name: http-virtual-ip IP Address: 192.168.1.2 Interfaces - Ethernet: The settings for the wan1 interfac
8、e should be: IP Address: wan1_ip Network: wan1net Default Gateway: gw Interfaces ARP Table Add ARP Entry: Mode: Publish Interface: wan1 IP Address: http-public-ip. MAC: 00-00-00-00-00-00 Rules IP Rules Add IP Rule: Name: SAT to WebServer Action: SAT Service: http Source Interface: any Source Network
9、: all-nets Destination Interface: wan1 Destination Network: http-public-ip SAT Translate the: Destination IP Address To New IP Address: http-virtal-ip Rules IP Rules Add IP Rule: Name: allow-http Action: allow Service: http Source Interface: any Source Network: all-nets Destination Interface: wan1 D
10、estination Network: http-public-ip configuration - Save and activate 只让访问web,收发email的设置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 H
11、ost/Network object: Name: gw IP Address: 172.18.224.254 Interfaces - Ethernet: The settings for the wan1 interface should be: IP Address: wan1_ip Network: wan1net Default Gateway: gw Rules IP Rules Add IP Rule: Name: allow-dns Action: allow Service: dns Source Interface: lan1 Source Network: lan1net
12、 Destination Interface: wan1 Destination Network: wan1net Rules IP Rules Add IP Rule: Name: allow-http Action: allow Service: http Source Interface: lan1 Source Network: lan1net Destination Interface: wan1 Destination Network: wan1net Rules IP Rules Add IP Rule: Name: allow-pop3 Action: allow Servic
13、e:pop3 Source Interface: lan1 Source Network: lan1net Destination Interface: wan1 Destination Network: wan1net Rules IP Rules Add IP Rule: Name: allow-smtp Action:allow Service:smtp Source Interface: lan1 Source Network: lan1net Destination Interface: wan1 Destination Network: wan1net configuration
14、- Save and activate pptp server的设置(1/2)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.
15、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 Pas