ZyXEL Communications n/a Modem User Manual


 
Chapter 14 IPSec Commands
DSL & IAD CLI Reference Guide
94
14.3 Command Examples
This example adds an IPSec rule as follows.
1 Load IPSec Rule Index: 2
2 Rule Name: VPN-ph1
3 Active
4 Local ID Type: IP
5 Local ID Content: 192.168.1.33
6 My IP Address: 10.1.1.1
7 Local Network Type: Range
8 Local Network Address Start: 192.168.1.33
9 Local Network Address End: 192.168.1.66
10 Secure Gateway Address: 10.1.1.2
11 Remote Network Type: Single
12 Remote Network Address Start: 172.16.1.3
13 Protocol: TCP
14 Key Management: IKE
15 Negotiation Mode: Main
16 Authentication Method: Pre-Shared Key
17 Pre-Shared Key: 12345678
18 Save
ras> ipsec load 2
ras> ipsec config name VPN-ph1
ras> ipsec config active Yes
ras> ipsec config natTraversal Yes
ras> ipsec config lcIdType IP
ras> ipsec config lcIdContent 192.168.1.33
ras> ipsec config myIpAddr 10.1.1.1
ras> ipsec config lcAddrType 1
ras> ipsec config lcAddrStart 192.168.1.33
ras> ipsec config lcAddrEndMask 192.168.1.66
ras> ipsec config secureGwAddr 10.1.1.2
ras> ipsec config rmAddrType 0
ras> ipsec config rmAddrStart 172.16.1.3
ras> ipsec config protocol 6
ras> ipsec config keyManage 0
ras> ipsec config ike negotiationMode 0
ras> ipsec config ike authMethod 0
ras> ipsec config ike preShareKey 12345678
ras> ipsec save