republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
772
Share Topic
Posting?
Post a:
Post a:
Links: ·Submit a new forum topic ·Forum FAQ ·Submit a FAQ ·Docs Guidelines and Advisories ·EOS/EOL thread
AuthorAll Replies


Teddzy

@starcomms.net

Just a contribution to the group on VPN configs

Hi there fellow experts,

Pretty much believe everyone is doing great and wonderful too? I must say that i have gained alot of experience from the group and it is only natural to bless the group back with same thing. I want to believe that someone at some point might have done this....but however i would still go ahead and do what i need to do.

I have been on a project on configuring both remote and site-to-site vpn's with ASA. I must confess it's been fun for me. Quite some hand full lessons to learn. With routers it's easier having to do the commands as you know CLI seems the best way....troubleshooting via it for me is easier! That's my personal take on things though. On the ASA, i have always had this believe it's not possible to do it via CLI. But then was i totally totally wrong with that perception. So for those of us that are not GUI config at heart.....here are the template(s) i used that worked for me so good that i didn't have to use the ASDM while configuring the vpn's.


username santa password US-man2011
username santa attributes

vpn-group-policy SDVPNGROUP
!
access-list Split_Tunnel_List_ACL remark *****NAT Access List*****
access-list inside_nat0_outside line 1 extended permit ip any 10.10.20.0 255.255.255.248
nat (inside) 0 access-list inside_nat0_outside
!
access-list Split_Tunnel_List_ACL remark *****Split Tunnel Traffic*****
access-list Split_Tunnel_List_ACL standard permit 192.168.0.0 255.255.255.0
!
ip local pool SPOOL 10.10.20.1-10.10.20.4 mask 255.255.255.248
!
group-policy SVPNGROUP internal
group-policy SVPNGROUP attributes
dns-server value 192.168.0.1
wins-server value 192.168.0.1
split-tunnel-policy tunnelspecified
split-tunnel-network-list value Split_Tunnel_List_ACL
vpn-tunnel-protocol IPSec
default-domain value sdantata.local
!
tunnel-group SVPNGROUP type ipsec-ra
tunnel-group SVPNGROUP ipsec-attributes
pre-shared-key Cisco1234
!
tunnel-group SVPNGROUP general-attributes
default-group-policy SVPNGROUP
address-pool SPOOL
!
crypto isakmp policy 10 hash md5
crypto isakmp policy 10 authentication pre-share
crypto isakmp policy 10 encryption aes
crypto isakmp policy 10 group 2
crypto isakmp policy 10 lifetime 86400
crypto isakmp enable outside
!
crypto ipsec transform-set SDSET esp-aes esp-md5-hmac
crypto ipse df-bit clear-df outside
!
crypto dynamic-map SMAP 10 set pfs group2
crypto dynamic-map SMAP 10 set transform-set SDSET
crypto dynamic-map SMAP 10 set reverse-route
crypto dynamic-map SMAP 10 set security-association lifetime seconds 86400 kilobytes 4608000
!
crypto map SMAP 65535 ipsec-isakmp dynamic SMAP
!
crypto map SMAP interface outside
!
crypto isakmp nat-traversal
!
sysopt connection permit-ipsec

SITE TO SITE VPN

ASA1
access-list 100 remark ****link to remote site****
access-list 100 extended permit ip 192.168.101.0 255.255.255.0 192.168.100.0 255.255.255.0
!
access-list 100 remark ****NAT IP ACL****
access-list 100 extended permit ip 192.168.101.0 255.255.255.0 192.168.100.0 255.255.255.0
!
nat-control
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 192.168.101.0 255.255.255.0
!
sysopt connection permit-ipsec
!
crypto isakmp policy 10 hash md5
crypto isakmp policy 10 authentication pre-share
crypto isakmp policy 10 encryption aes
crypto isakmp policy 10 group 2
crypto isakmp policy 10 lifetime 86400
crypto isakmp identity address
crypto isakmp enable outside
!
crypto ipsec transform-set myset esp-aes esp-md5-hmac
crypto ipsec df-bit clear-df outside
!
crypto dynamic-map yourMAP 10 set pfs group2
crypto dynamic-map yourMAP 10 set transform-set myset
crypto dynamic-map yourMAP 10 set reverse-route
crypto dynamic-map yourMAP 10 set peer 10.1.1.2
crypto dynamic-map yourMAP 10 match address 100
crypto dynamic-map yourMAP interface outside
!
tunnel-group 10.1.1.2 type ipsec-121
tunnel-group 10.1.1.2 ipsec-attribute
pre-shared-key cisco12345
isakmp keepalive threshold 10 retry 2

ASA2
access-list 100 remark ****link to remote site****
access-list 100 extended permit ip 192.168.100.0 255.255.255.0 192.168.101.0 255.255.255.0
!
access-list 100 remark ****NAT IP ACL****
access-list 100 extended permit ip 192.168.100.0 255.255.255.0 192.168.101.0 255.255.255.0
!
nat-control
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 192.168.100.0 255.255.255.0
!
sysopt connection permit-ipsec
!
crypto isakmp policy 10 hash md5
crypto isakmp policy 10 authentication pre-share
crypto isakmp policy 10 encryption aes
crypto isakmp policy 10 group 2
crypto isakmp policy 10 lifetime 86400
crypto isakmp identity address
crypto isakmp enable outside
!
crypto ipsec transform-set myset esp-aes esp-md5-hmac
crypto ipsec df-bit clear-df outside
!
crypto dynamic-map yourMAP 10 set pfs group2
crypto dynamic-map yourMAP 10 set transform-set myset
crypto dynamic-map yourMAP 10 set reverse-route
crypto dynamic-map yourMAP 10 set peer 10.1.1.1
crypto dynamic-map yourMAP 10 match address 100
crypto dynamic-map yourMAP interface outside
!
tunnel-group 10.1.1.1 type ipsec-121
tunnel-group 10.1.1.1 ipsec-attribute
pre-shared-key cisco12345
isakmp keepalive threshold 10 retry 2


So there you have it guys! Make adjustments where needed for you. Bless the hearts of everyone here that has been of a blessing to me. This is just my little contribution to the group

Peace
Teddy

HELLFIRE

join:2009-11-25
kudos:4

:salutes: for the contribution.

One question... what model ASA was this done on, and what code revision? Just for future reference.

Regards



Teddzy

@starcomms.net

Hey Hell!

Thanks for asking, i should have done that though while doing the original post. Ok here it is below

For the S2S Vpn's

I did them on 5510 with Software 8.2 on them. For some specific reason my boss say we are not upgrading to the 8.3 or for....but my take about his fears is NATTING. It's a little be different on software version 8.3 but all the same though!

For the Remote Vpn's

It was on the 5505 with same software version....but i have to be honest i just got my own 5505 upgraded to version 8.4, so i would slam it up on it and give it a try there. Most def would be willing to share my experience with the experience.

But generally i believe the whole config should be suitable for all platforms of ASA with version 8.2 or later. May be one or two tweaks here and there that would personally make an impact to your network.

In summary i guess those configs up in here are good to go for those who love CLI vpn config style! Like i chose to call us CLI CONFIG AT HEART!

I guess that would be all for now....but i am open to more questions and hope to answer them to the best of my abilities!

Cheers mate!
Teddy


Network Guy
Premium
join:2000-08-25
New York

reply to Teddzy
Someday when I can afford two ASA 5505s I will play with this. The CLI on a PIX is Chinese to me as well, but I have to start somewhere.

Thanks for sharing



Teddzy

@starcomms.net

Hey Mate not a thing.....! We are all here to gain knowledge and share! So i am happy that i could do this for us all. Cheers mate!


Monday, 04-Jun 07:31:35 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics