
Sample configurations
300
IPLink Software Configuration Guide
26 • VPN configuration
Mode:
context ip
Sample configurations
The following sample configurations establish IPsec connections between an IPLink and a Cisco router. To
interconnect two IPLink devices instead, derive the configuration for the second IPLink by doing the following
modifications:
•
Swap ‘inbound’ and ‘outbound’ settings
•
Adjust the ‘peer’ setting
•
Swap the private networks in the ACL profiles
•
Adjust the IP addresses of the LAN and WAN interfaces
•
Adjust the route for the remote network
IPsec tunnel, DES encryption
IPLink configuration
profile ipsec-transform DES
esp-encryption des-cbc 64
profile ipsec-policy-manual VPN_DES
use profile ipsec-transform DES
session-key inbound esp-encryption 1234567890ABCDEF
session-key outbound esp-encryption FEDCBA0987654321
spi inbound esp 1111
spi outbound esp 2222
peer 200.200.200.1
mode tunnel
profile acl VPN_Out
permit ip 192.168.1.0 0.0.0.255 172.16.0.0 0.0.255.255 ipsec-policy VPN_DES
permit ip any any
profile acl VPN_In
permit esp any any
permit ah any any
permit ip 172.16.0.0 0.0.255.255 192.168.1.0 0.0.0.255
deny ip any any
context ip router
interface LAN
ipaddress 192.168.1.1 255.255.255.0
Step
Command
Purpose
1
node(ctx-ip)
[ctx-
name
]#
[no] sourcead-
dress-map <destination-net-
work><destination-mask><ip-
interface-name>
Defines that locally originated packets destined
for the specified destination network shall use the
IP address of the specified IP interface as their
source address.
Содержание 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...