30 Jun 2008

VPN router-to-router using cisco 17xx / 18xx

[CBE - cisco by examples]

How to setup a VPN router-to-router using cisco 17xx / 18xx

Want to connect your cisco router to a CiscoVPN server?

the following lines will config your router to act as a VPNClient
and will tunnel the traffic on that VPN

check the ***STARRED*** values and replace it



crypto ipsec client ezvpn MyVpn
connect auto
group ***VPN_GORUP*** key ***VPN_GORUP_KEY***
mode client
peer ***VPN_SERVER_IP_ADDRESS***
username ***VPN_USER_NAME*** password ***VPN_USER_PASSWORD***
xauth userid mode local

interface Ethernet0
crypto ipsec client ezvpn MyVpn

interface FastEthernet0
crypto ipsec client ezvpn MyVpn inside


REMEBER: you may want to tunnelize only some traffic on the VPN CLIENT SIDE, and let all the other traffic transit outside the vpn. Then you have to config a SPLIT-TUNNEL on the VPN SERVER SIDE: check this post.



.

1 comment:

alex smith said...

Have you tried vpn? I just got through setting it up on my network. It works really well. Setup can be a little hairy, but I found a quickstart tutorial on the web and got everything squared away in about an hour. It also has a lot of functionality (complexity) if you need to go down that road.