Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding a second remote site PIX- need VPN configs

Status
Not open for further replies.

encinitas

Technical User
Sep 6, 2005
84
US
hello
i have a vpn connection between two PIX 501's- one at the corporate office and one at a remote site. i just acquired a new remote site and want the same setup as the first remote site, also to have a VPN to the corp. office.
can i copy the config from the remote site PIX to the new remote site PIX, except the ip addresses/subnets? i'm not sure about the crypto mappings.
and then on the corp PIX do i need to add a crypto map to set the peer for the new PIX?
thanks in advance


corp PIX:
PIX Version 6.2(2)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password Y4VhkpgwXuS6dpYQ encrypted
passwd Y4VhkpgwXuS6dpYQ encrypted
hostname XXX
domain-name xxx.com
clock timezone PST -8
clock summer-time PDT recurring
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
no fixup protocol smtp 25
names
access-list 101 permit ip 192.168.102.0 255.255.255.0 10.1.1.0 255.255.255.0
access-list 101 permit ip 192.168.102.0 255.255.255.0 192.168.103.0 255.255.255.0
access-list 102 permit ip 192.168.102.0 255.255.255.0 192.168.103.0 255.255.255.0
access-list 103 permit tcp any host x.47.128.10 eq smtp
access-list 103 permit tcp any host x.47.128.10 eq www
access-list 103 permit tcp any host x.47.128.10 eq https
access-list localtovpnclient permit ip 0.0.0.0 255.255.255.0 192.168.102.0 255.255.255.0
access-list nonatinside permit ip 0.0.0.0 255.255.255.0 192.168.102.0 255.255.255.0
access-list nonatinside permit ip 192.168.102.0 255.255.255.0 192.168.102.96 255.255.255.224
access-list nonatinside permit ip 192.168.102.0 255.255.255.0 192.168.103.0 255.255.255.0
access-list fromoutside permit tcp 192.168.102.0 255.255.255.0 host 192.168.102.2
access-list fromoutside permit udp 192.168.102.0 255.255.255.0 host 192.168.102.2 eq domain
access-list carlsbad_splitTunnelAcl permit ip 192.168.102.0 255.255.255.0 any
access-list outside_cryptomap_dyn_30 permit ip any 192.168.102.96 255.255.255.224
access-list icmp permit icmp any any echo-reply
access-list icmp permit icmp any any source-quench
access-list icmp permit icmp any any unreachable
access-list icmp permit icmp any any time-exceeded
pager lines 24
interface ethernet0 10baset
interface ethernet1 10full
mtu outside 1500
mtu inside 1500
ip address outside x.47.128.10 255.255.255.248
ip address inside 192.168.102.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool jabuza 10.1.1.1-10.1.1.5
ip local pool vpnclientpool 192.168.102.100-192.168.102.120
pdm location 0.0.0.0 255.255.255.0 inside
pdm location 192.168.102.2 255.255.255.255 inside
pdm location 192.168.102.0 255.255.255.0 outside
pdm location 192.168.103.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonatinside
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp x.47.128.10 255.255.255.255 0 0
static (inside,outside) tcp x.47.128.10 https 192.168.102.2 https netmask 255.255.255.255 0 0
static (inside,outside) tcp x.47.128.10 smtp 192.168.102.2 smtp netmask 255.255.255.255 0 0
access-group 103 in interface outside
route outside 0.0.0.0 0.0.0.0 66.47.128.9 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
aaa-server west protocol radius
aaa-server west (inside) host 192.168.102.2 w3stbuz@ timeout 5
http server enable
http 192.168.102.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
tftp-server inside 192.168.102.2 /
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
no sysopt route dnat
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto dynamic-map mydynmap 30 match address outside_cryptomap_dyn_30
crypto dynamic-map mydynmap 30 set transform-set myset
crypto map mymap 10 ipsec-isakmp
crypto map mymap 10 match address 102
crypto map mymap 10 set peer y.229.60.249
crypto map mymap 10 set peer y.229.60.250
crypto map mymap 10 set transform-set myset
crypto map mymap 20 ipsec-isakmp dynamic mydynmap
crypto map mymap client authentication west
crypto map mymap interface outside
isakmp enable outside
isakmp key ******** address y.229.60.249 netmask 255.255.255.255
isakmp identity address
isakmp keepalive 15 5
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
isakmp policy 30 authentication pre-share
isakmp policy 30 encryption des
isakmp policy 30 hash md5
isakmp policy 30 group 1
isakmp policy 30 lifetime 86400
vpngroup carlsbad address-pool vpnclientpool
vpngroup carlsbad dns-server 192.168.102.2
vpngroup carlsbad wins-server 192.168.102.2
vpngroup carlsbad default-domain xxx.local
vpngroup carlsbad split-tunnel carlsbad_splitTunnelAcl
vpngroup carlsbad idle-time 1800
vpngroup carlsbad password ********
telnet 192.168.102.0 255.255.255.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
vpdn group 1 accept dialin pptp
vpdn group 1 ppp authentication pap
vpdn group 1 ppp authentication chap
vpdn group 1 ppp authentication mschap
vpdn group 1 ppp encryption mppe 40
vpdn group 1 client configuration address local jabuza
vpdn group 1 pptp echo 60
vpdn group 1 client authentication local
vpdn username db password ********
vpdn username staylor password ********
vpdn username richard password ********
vpdn username nevan password ********
vpdn enable outside
dhcpd lease 3600
dhcpd ping_timeout 750
terminal width 80


remote PIX:
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password Y4VhkpgwXuS6dpYQ encrypted
passwd Y4VhkpgwXuS6dpYQ encrypted
hostname yyy
domain-name xxx.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
names
access-list outside_access_in permit tcp any host y.229.60.251 eq 8234
access-list outside_access_in permit udp any host y.229.60.251 eq 8234
access-list outside_access_in permit tcp any host y.229.60.251 eq 8235
access-list outside_access_in permit udp any host y.229.60.251 eq 8235
access-list outside_access_in permit tcp any host y.229.60.251 eq www
access-list outside_access_in permit tcp any host y.229.60.250 eq pcanywhere-data
access-list outside_access_in permit udp any host y.229.60.250 eq pcanywhere-status
access-list 101 permit ip 192.168.103.0 255.255.255.0 192.168.102.0 255.255.255.0
access-list icmp permit icmp any any echo-reply
access-list icmp permit icmp any any source-quench
access-list icmp permit icmp any any unreachable
access-list icmp permit icmp any any time-exceeded
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside y.229.60.249 255.255.255.248
ip address inside 192.168.103.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.1.0 255.255.255.0 inside
pdm location 192.168.103.3 255.255.255.255 inside
pdm location 192.168.103.2 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) y.229.60.250 192.168.103.3 netmask 255.255.255.255 0 0
static (inside,outside) y.229.60.251 192.168.103.2 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 y.229.60.254 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 192.168.1.0 255.255.255.0 inside
http 192.168.103.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto map tooffice 20 ipsec-isakmp
crypto map tooffice 20 match address 101
crypto map tooffice 20 set peer x.47.128.10
crypto map tooffice 20 set transform-set myset
crypto map tooffice interface outside
isakmp enable outside
isakmp key ******** address x.47.128.10 netmask 255.255.255.255
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
telnet 192.168.103.0 255.255.255.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
console timeout 0
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:4fe84bbe11f97b2a00f70da5995b5748
 
i assume the 501 can have two concurrent VPN's.
is that true?
 
Yes, and yes. Just create another crypto map with a priority between 10 and 20 (I'd change your dynamic policy to a much higher number, just to make more room.)
 
thanks lgarner-

so you'd change the dynmap from 30 to a higher number? (on the corp PIX)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top