Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Networking > Cisco Routers & Switches How-to
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

How do I set up a VPN?

How do I set up a VPN?

this thread has 3 replies and has been viewed 680 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th April 2012, 15:43
cinuben108 cinuben108 is offline
Casual
Casual
 
 Join Date: Apr 2012
  6 month star 12 month star
 Posts: 9
 Reputation: cinuben108 is on a distinguished road (10)
Smile How do I set up a VPN?

Hai, I would like to setup a vpn connectivity between 2 offices. We have already a 1841 and 2 or 3 877 routers with us. We are planning to use 1841 in main office with a Diginet connection having static Ips and 877 routers at remote offices having ADSL link.
Kindly suggest me what all configurations I need to do in both ends.
  #2  
Old 5th April 2012, 19:02
auglan's Avatar
auglan auglan is offline
Moderator
 
 Join Date: Apr 2010
  6 month star 12 month star
 Location: Raleigh, NC
 Posts: 1,186
 Reputation: auglan has a spectacular aura aboutauglan has a spectacular aura aboutauglan has a spectacular aura about (215)
Default Re: cinu

Plenty of info out there regarding vpn's if you just take the time and look.
  #3  
Old 11th April 2012, 09:21
Wired's Avatar
Wired Wired is offline
Administrator
 
 Join Date: May 2006
  6 month star 12 month star
 Posts: 3,169
 Reputation: Wired is just really niceWired is just really niceWired is just really niceWired is just really nice (384)
Default Re: cinu

The title has been changed. Next time please choose a better title as per the rules, thanks.
__________________
** Remember to give credit where credit is due and leave reputation points where appropriate **

Last edited by Wired; 11th April 2012 at 09:27..
  #4  
Old 11th April 2012, 18:44
auglan's Avatar
auglan auglan is offline
Moderator
 
 Join Date: Apr 2010
  6 month star 12 month star
 Location: Raleigh, NC
 Posts: 1,186
 Reputation: auglan has a spectacular aura aboutauglan has a spectacular aura aboutauglan has a spectacular aura about (215)
Default Re: How do I set up a VPN?

You can do L2L tunnels if you want for each remote site. Another option would be DMVPN. This is more of a hub and spoke topology. With DMVPN most of the time you will run a dynamic routing protocol between hub and spokes. Use a multipoint gre interface on the hub. If you want spoke to spoke dynamic tunnels then its multipoint gre all the way around. Lots of options.

Configuration depends on what type you want to go with. For L2L static tunnels this will do:


crypto isakmp policy 10 (ISAKMP Policy)
authentication pre-share
hash sha
encryption aes
group 5

crypto isakmp key cisco address X.X.X.X (remote site ip)


crypto ipsec transform-set TSET esp-aes esp-sha-hmac (Transform Set)

crypto map MYMAP 10 ipsec-isakmp (Crypto Map)
set peer X.X.X.X (remote site ip address)
set transform-set TSET
match address 100


access-list 100 permit ip X.X.X.X Y.Y.Y.Y X.X.X.X Y.Y.Y.Y (Crypto ACL for Interesting Traffic)

int fa0/0
crypto map MYMAP




Could also do VTI based Vpn's which will give you a routable tunnel interface for QOS, Policy etc.

Dont forget to add a no-nat rule so vpn traffic doesnt get natted.


access-list 101 deny ip X.X.X.X Y.Y.Y.Y X.X.X.X Y.Y.Y.Y (traffic not to be natted)
access-list 101 permit ip any any (Traffic to be natted - Can get more specific here if need be)


route-map NO_NAT permit 10
match ip address 101

ip nat inside source route-map NO_NAT interface fa0/0 overload (Assuming your using PAT on the outside interface)

Last edited by auglan; 11th April 2012 at 18:55..
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +3. The time now is 04:24.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri