Chapter 14 IPSec Commands

14.3 Command Examples

This example adds an IPSec rule as follows.

1Load IPSec Rule Index: 2

2Rule Name: VPN-ph1

3Active

4Local ID Type: IP

5Local ID Content: 192.168.1.33

6My IP Address: 10.1.1.1

7Local Network Type: Range

8Local Network Address Start: 192.168.1.33

9Local Network Address End: 192.168.1.66

10Secure Gateway Address: 10.1.1.2

11Remote Network Type: Single

12Remote Network Address Start: 172.16.1.3

13Protocol: TCP

14Key Management: IKE

15Negotiation Mode: Main

16Authentication Method: Pre-Shared Key

17Pre-Shared Key: 12345678

18Save

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

94

 

DSL & IAD CLI Reference Guide