Error » Hardware Error!! » Security and Firewall Error ! » Static PIX-2-PIX VPN + Dynamic Remote VPN + Local Auth

Security and Firewall Error ! Secuirty and firewall Realted Queries and support

Post New Thread Reply
  Static PIX-2-PIX VPN + Dynamic Remote VPN + Local Auth
LinkBack Thread Tools Display Modes
Old 26-Mar-2007, 12:52 AM   #1 (permalink)
Fixed Error!
 
ps3cheats's Avatar

Posts: 1,497
Join Date: Mar 2007
Rep Power: 3 ps3cheats is on a distinguished road

IM:
Default Static PIX-2-PIX VPN + Dynamic Remote VPN + Local Auth

I am looking to (quickly) expand my current site-to-site VPN to also allow remote users from dynamic IPs (without tacacs+/radius). Remote users will use Cisco's VPN Client software on WinXP (latest version available from CCO).

Central site has a PIX 515 @ 6.3(5), with a working site-to-site VPN between a satellite location and it.

names
name 1.2.3.rtr router
name 1.2.3.pix pix_ext
name 192.168.1.0 all_lan
name 192.168.1.254 pix_lan
name 192.168.0.0 all_dmz
name 192.168.0.2 ns1_dmz
name 192.168.0.3 ns2_dmz
name 192.168.0.254 pix_dmz
name 192.168.3.0 all_wha
name 9.8.7.whs wha_ext

access-list whvpn permit ip all_lan 255.255.255.0 all_wha 255.255.255.0
access-list nonat permit ip all_lan 255.255.255.0 all_wha 255.255.255.0

ip address outside pix_ext 255.255.255.248
ip address inside pix_lan 255.255.255.0
ip address dmz pix_dmz 255.255.255.0

global (outside) 1 interface

nat (inside) 0 access-list nonat
nat (inside) 1 all_lan 255.255.255.0 0 0
nat (dmz) 1 all_dmz 255.255.255.0 0 0

static (dmz,outside) ns1_ext ns1_dmz netmask 255.255.255.255 0 0
static (dmz,outside) ns2_ext ns2_dmz netmask 255.255.255.255 0 0
static (inside,dmz) all_dmz all_lan netmask 255.255.255.0 0 0

access-group out in interface outside
access-group dmz in interface dmz

route outside 0.0.0.0 0.0.0.0 router 1

aaa-server LOCAL protocol local

sysopt connection permit-ipsec

crypto ipsec transform-set wha_lan esp-3des esp-sha-hmac
crypto map WhaLan 1 ipsec-isakmp
crypto map WhaLan 1 match address whvpn
crypto map WhaLan 1 set peer wha_ext
crypto map WhaLan 1 set transform-set wha_lan
crypto map WhaLan interface outside

isakmp enable outside
isakmp key * address wha_ext netmask 255.255.255.255
isakmp identity address
isakmp nat-traversal 20
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption 3des
isakmp policy 1 hash sha
isakmp policy 1 group 2
isakmp policy 1 lifetime 86400

Looking through many Cisco docs and Google pages I have come up with the following:

ip local pool mobilepool 192.168.1.10-192.168.1.20
username mobileuser password * encrypted privilege 1
crypto ipsec transform-set mobile esp-3des esp-sha-hmac
tunnel-group mobilegroup general-attributes
address pool mobilepool
tunnel-group mobilegroup ipsec-attributes
pre-shared-key KEY
crypto dynamic-map mobile1 1 set transform-set mobile
crypto dynamic-map mobile1 1 set reverse-route
crypto map mobilemap 65535 ipsec-isakmp dynamic mobile1
crypto map mobilemap client authentication LOCAL
crypto map mobilemap interface outside

Is this the correct method (I don't want to collapse the existing site-to-site tunnel)?
ps3cheats is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
   


   
Old 26-Mar-2007, 12:52 AM   #2 (permalink)
Fixed Error!
 
ps3cheats's Avatar

Posts: 1,497
Join Date: Mar 2007
Rep Power: 3 ps3cheats is on a distinguished road

IM:
Default Re: Static PIX-2-PIX VPN + Dynamic Remote VPN + Local Auth

The tunnel-group commands apply to v7, not 6.3(5)

This is what you need:

ip local pool mobilepool 192.168.1.10-192.168.1.20
username mobileuser password * encrypted privilege 1
crypto ipsec transform-set mobile esp-3des esp-sha-hmac
crypto dynamic-map mobile1 1 set transform-set mobile
crypto dynamic-map mobile1 1 set reverse-route (not sure if this is a PIX command but you can try)
crypto map WhaLan 65535 ipsec-isakmp dynamic mobile1
crypto map WhaLan client authentication LOCAL
crypto map WhaLan interface outside

vpngroup rasgroup address-pool vpnpool1
vpngroup rasgroup split-tunnel ras_split
vpngroup rasgroup idle-time 1800
vpngroup rasgroup password ********


You need to disable NAT for RAS VPN clients to corporate network
access-list nonat permit ip all_lan 255.255.255.0 192.168.1.0 255.255.255.0


This allows RAS clients to only send corporate network bound traffic to the VPN tunnel and Internet-bound traffic through their ISP
access-list ras_split permit ip all_lan 255.255.255.0 192.168.1.0 255.255.255.0
ps3cheats is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Post New Thread Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 11:43 AM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

DMCA Policy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228