
VPN configuration task list
292
IPLink Software Configuration Guide
26 • VPN configuration
Example:
Create an IPsec policy profile
The following example defines a profile for AES-encryption at a key length of 128.
IPLink(cfg)#profile ipsec-policy-manual ToBerne
IPLink(pf-ipsma)[ToBerne]#use profile ipsec-transform AES_128
IPLink(pf-ipsma)[ToBerne]#session-key inbound esp-encryption
1234567890ABCDEF1234567890ABCDEF
IPLink(pf-ipsma)[ToBerne]#session-key outbound esp-encryption
FEDCBA0987654321FEDCBA0987654321
IPLink(pf-ipsma)[ToBerne]#spi inbound esp 1111
IPLink(pf-ipsma)[ToBerne]#spi outbound esp 2222
IPLink(pf-ipsma)[ToBerne]#peer 200.200.200.1
IPLink(pf-ipsma)[ToBerne]#mode tunnel
Creating/modifying an outgoing ACL profile for IPsec
An access control list (ACL) profile in the outgoing direction selects which outgoing traffic to encrypt and/or
authenticate, and which IPsec policy profile to use. IPsec does not require an incoming ACL.
Note
Outgoing and incoming IPsec traffic passes an ACL (if available) twice, once
before and once after encryption/authentication. So the respective ACLs
must permit the encrypted/authenticated and the plain traffic.
For detailed information on how to set-up ACL rules, see chapter 19,
“Access control list configuration”
on
page 211.
Procedure:
To create/modify an outgoing ACL profile for IPsec
Mode:
Configure
Note
New entries are appended at the end of an ACL. Since the position in the list
is relevant, you might need to delete the ACL and rewrite it completely.
Example:
Create/modify an ACL profile for IPsec
The following example configures an outgoing ACL profile that interconnects the two private networks
192.168.1/24 and 172.16/16.
IPLink(cfg)#profile acl VPN_Out
IPLink(pf-acl)[VPN_Out]#permit ip 192.168.1.0 0.0.0.255 172.16.0.0 0.0.255.255
ipsec-policy ToBerne
IPLink(pf-acl)[VPN_Out]#permit ip any any
Step
Command
Purpose
1
node(cfg)#profile acl
name
Creates or enters the ACL profile name
2
node(pf-ipstr)[
name
]#permit ...
[ ipsec-policy
name
]
The expression ‘ipsec-policy name’ appended to a
permit ACL rule activates the IPsec policy profile
name
to encrypt/authenticate the traffic identified
by this rule.
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...