路由器设置非常重要,很多用户对于路由器设置都不是很重视,文章主要针对艾泰路由器设置语句,进行了详细的介绍。不同用户要修改用户名、密码和网关,其他设置一样。
- new connection/CNC
- set connection/CNC dial first 0
- set connection/CNC encaps send name 设置拨号用户名
- set connection/CNC encaps send pw 250872 设置拨号密码
- set connection/CNC line calltype AO/Switched
- set connection/CNC line dialoutSpoof yes
- set connection/CNC tunnel type client
- set connection/CNC tunnel protocol L2TP
- set connection/CNC tunnel serveraddress 172.20.0.132
- set interface ethernet/2 ip dhcpclient enabled
- set interface ethernet/2 ip dhcpclientpnp disabled
- set ip nat routing enabled 启用nat解释
- new ip nat static/Telnet
- set ip nat static/Telnet protocol TCP
- set ip nat static/Telnet dstPort 23
- set ip nat static/Telnet localAddress 192.168.16.1
- set ip nat static/Telnet localPort 23
- new ip nat binding/CNC
- set ip nat binding/CNC profile CNC
- set ip nat binding/CNC natMethod EasyIp
- new ip nat binding/LAN
- set ip nat binding/LAN profile eth2
- set ip nat binding/LAN natMethod EasyIp
- new ip route static/VPNServer
- set ip route static/VPNServer dest 172.0.0.0
- set ip route static/VPNServer netmask 255.0.0.0
- set ip route static/VPNServer gateway 10.44.1.129
- set ip dhcp server enabled yes
- set ip dns priServer 210.21.4.130 设置首选DNS为210.21.4.130
- set ip dns secServer 202.96.128.68 设置备选DNS为202.96.128.68
- set ip sntp enabled Yes
- set ip sntp 1stsntpserver 131.107.1.10
- set ip vpn tunnelMode L2TP
- set ip vpn l2tpMode LAC
- set system admin/Default passwd 250872 设置路由器用户名和密码
- new system admin/YJGG
- set system admin/YJGG passwd YingJieGG
- set system maxOutgoingCalls 20