Creating vpn between two pix 501's

Hi,

I'm trying to connect two pix 501's using vpn.

The vpn comes up with no errors, but I simply cannot transmit traffic over them. It just times out.

Here are the configs:
------------------
top pix

PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname top
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
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
fixup protocol tftp 69
names
access-list 101 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0

access-list 101 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0

pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.10.2 255.255.255.0
ip address inside 192.168.40.55 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.40.0 255.255.255.255 inside
pdm history enable
arp timeout 14400
nat (inside) 0 access-list 101
route inside 0.0.0.0 0.0.0.0 192.168.40.1 1
route outside 192.68.60.0 255.255.255.0 192.168.10.2 1
timeout xlate 3:00: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.40.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 fixitagain esp-des esp-md5-hmac
crypto map turbo 1 ipsec-isakmp
crypto map turbo 1 match address 101
crypto map turbo 1 set peer 192.168.10.1
crypto map turbo 1 set transform-set fixitagain
crypto map turbo interface outside
isakmp enable outside
isakmp key ******** address 192.168.10.1 netmask 255.255.255.0
isakmp identity address
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 1000
telnet 192.168.40.0 255.255.255.255 inside
telnet 192.168.40.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
username admin password ******** encrypted privilege 15
terminal width 80
Cryptochecksum:87a8ca7f9a9be0712fe44f8209738b4d
: end
top#

------------------------------------
bottom pix

PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ********* encrypted
passwd ********** encrypted
hostname bottom
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
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
fixup protocol tftp 69
names
access-list 101 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0

access-list 101 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0

pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.10.1 255.255.255.0
ip address inside 192.168.60.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
route outside 0.0.0.0 0.0.0.0 192.168.10.1 1
timeout xlate 3:00: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.60.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 nowaymofo esp-des esp-md5-hmac
crypto map shamone 1 ipsec-isakmp
crypto map shamone 1 set peer 192.168.10.2
crypto map shamone 1 set transform-set nowaymofo
! Incomplete
crypto map shamone interface outside
isakmp enable outside
isakmp key ******** address 192.168.10.2 netmask 255.255.255.0
isakmp identity address
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 1000
telnet timeout 5
ssh timeout 5
console timeout 0
username admin password ********** encrypted privilege 15
terminal width 80
Cryptochecksum:13333c5a943b3749c4928b0f458f1a45
: end
bottom#



SOS
cddpsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lrmooreCommented:
You need to add an acl on each side:

TOP PIX, add:
   access-list 102 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0
   crypto map turbo 1 match address 102

Then re-apply the crypto map to affect the changes:
   crypto map turbo interface outside



BOTTOM PIX, add:
   access-list 102 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0
   crypto map shamone 1 match address 102

Then re-apply the crypto map to affect the changes:
   crypto map shamone interface outside
0
cddpsAuthor Commented:
Hi,

I've done that now.

But I still can't get through the pix's, the vpn comes straight up, it must be something glaringly obvious.

Here are the latest configs:

-------------------------------------
Top

PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname top
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
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
fixup protocol tftp 69
names
access-list 101 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0

access-list 102 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0

pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.10.2 255.255.255.0
ip address inside 192.168.40.55 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
nat (inside) 0 access-list 102
route inside 0.0.0.0 0.0.0.0 192.168.40.1 1
route outside 192.68.60.0 255.255.255.0 192.168.10.2 1
timeout xlate 3:00: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.40.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
no snmp-server contact
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set fixitagain esp-des esp-md5-hmac
crypto map turbo 1 ipsec-isakmp
crypto map turbo 1 match address 102
crypto map turbo 1 set peer 192.168.10.1
crypto map turbo 1 set transform-set fixitagain
crypto map turbo interface outside
isakmp enable outside
isakmp key ******** address 192.168.10.1 netmask 255.255.255.0
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 1000
telnet timeout 5
ssh timeout 5
console timeout 0
username admin password hVaczTlgs9v6Ux3t encrypted privilege 15
terminal width 80
Cryptochecksum:c87bcbcd7c077b9a31d74a38b776775c
: end
top#

--------------------------
bottom

PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname bottom
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
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
fixup protocol tftp 69
names
access-list 101 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0

access-list 102 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0

pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.10.1 255.255.255.0
ip address inside 192.168.60.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
nat (inside) 0 access-list 102
route outside 0.0.0.0 0.0.0.0 192.168.10.1 1
timeout xlate 3:00: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.60.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 nowaymofo esp-des esp-md5-hmac
crypto map shamone 1 ipsec-isakmp
crypto map shamone 1 match address 102
crypto map shamone 1 set peer 192.168.10.2
crypto map shamone 1 set transform-set nowaymofo
crypto map shamone interface outside
isakmp enable outside
isakmp key ******** address 192.168.10.2 netmask 255.255.255.0
isakmp policy 1 authentication pre-share
isakmp policy 1 encryption des
isakmp policy 1 hash md5
isakmp policy 1 group 1
isakmp policy 1 lifetime 1000
telnet timeout 5
ssh timeout 5
console timeout 0
username admin password hVaczTlgs9v6Ux3t encrypted privilege 15
terminal width 80
Cryptochecksum:e701ed642de96d61f6218171c93ae0f9
: end
bottom#

----------------------------


cheers,
steven
0
lrmooreCommented:
Couple of things:

You didn't do exactly as I suggested. You now have the same acl (102) applied to two different processes - crypto and nat.

TOP:
  This current 102 access-list is backwards anyway:
    no  access-list 102 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0
  should be:
    access-list 101 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0
    access-list 102 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0
    nat (inside) 0 access-list 101
    crypto map turbo 1 match address 102
Don't put the next hop for the remote LAN yourself, make the truely the next hop
    route outside 192.68.60.0 255.255.255.0 192.168.10.1 1

This entry tells me that since this is just a test environment, this PIX might not be the PC's default gateway:
>route inside 0.0.0.0 0.0.0.0 192.168.40.1 1
If that's true, then on your test PC, or on the router that is 192.168.40.1, you must add a static route entry for the 192.168.60.0 network, or on the testing host, add a static route..


BOTTOM:
    This current 101 access-list is backwards anyway:
    no  access-list 101 permit ip 192.168.40.0 255.255.255.0 192.168.60.0 255.255.255.0
  should be:
    access-list 101 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0
    access-list 102 permit ip 192.168.60.0 255.255.255.0 192.168.40.0 255.255.255.0
    nat (inside) 0 access-list 101
    crypto map turbo 1 match address 102
Don't point your default gateway to yourself:
   route outside 0.0.0.0 0.0.0.0 192.168.10.1 1
Make it the other PIX
   route outside 0.0.0.0 0.0.0.0 192.168.10.2 1



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Firewall Audit Checklist

Preparing for a firewall audit today is almost impossible.
AlgoSec, together with some of the largest global organizations and auditors, has created a checklist to follow when preparing for your firewall audit. Simplify risk mitigation while staying compliant all of the time!

cddpsAuthor Commented:
Your are a bloody genius.

ITS NOW WORKING :D

I owe you a number of beers!!!!!

Thanks,
Steven
0
lrmooreCommented:
Hmm.... that's twice I've earned beer for helping set up a back-back pix vpn in a lab setting...
Hic!
0
lrmooreCommented:
Don't forget to come back and "Accept" a comment and grade appropriately. I don't get credit for the Q until it's closed, and only you can close it.

Thanks!

0
cddpsAuthor Commented:
:-D
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.