針對需建立遠端存取 VPN 的進階應用,本文提供 FAST 路由器配置 ezVPN 伺服器的完整指令範例,涵蓋 Phase 1、Phase 1.5 (Xauth)、Phase 2 及 AAA 認證授權設定。
vpngroupgroupkeyciscociscocrypto isakmp profile isapro match identity group vpngroup client authentication list vpnauth isakmp authorization list vpnauthor client configuration address respond keepalive 10 retry 3 ip local pool localpool 9.9.9.1 9.9.9.10 crypto isakmp xauth timeout 10 crypto isakmp client configuration group vpngroup key groupkey pool localpool acl lo
crypto ipsec transform-set ts esp-aes esp-sha-hmac crypto dynamic-map dmap 10 set transform-set ts set isakmp-profile isapro reverse-route crypto map cmap 1000 ipsec-isakmp dynamic dmap interface <外部介面> crypto map cmap
crypto isakmp policy 10 encr aes authentication pre-share group 2
aaa new-model aaa authentication login vpnauth local aaa authorization network vpnauthor local username cisco password cisco

以上指令需於路由器 CLI 特權模式下輸入,實際部署請依網路拓撲調整 IP 區段、ACL 與介面名稱。此配置可讓遠端用戶透過 Cisco VPN Client 安全接入企業內網。