Advertisement

12.09.2005 at 12:14PM PST, ID: 21659597
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

Cisco Pix 501 Configuration

Asked by jcgreer in Virtual Private Networking (VPN)

Tags: , ,

Hello, sorry for the long post (config file, logs).
This is the running configuration from my PIX 501 (one of 2, the 3rd leg is a cisco 3000)
Very much like the Cisco example : http://tinyurl.com/ambao or
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00804675ac.shtml
The 'home' office and two remotes (the remotes do not have to see each other)
This is running but I was getting some errors :
"no translation group found for udp src inside:192.168.224.5/1526 dst outside:212.181.15.62/53"
This is from the 'home' pix to the default gateway for that device no the internet.
I was reading about this and found the following two items:
   static (inside, outside) 192.168.16.0 192.168.16.0 255.255.255.0 0 0
         or
  access-list nonat permit ip any any
  net (outside) 0 access-list nonat
I did the top one and it seems to have helped with that error message (is the bottom is more preferable?), do I really want any/any?
I do get status messages now that says "built outbound UDP connection 337 for outside...(substituted for 'no trans group' message above).
I had changed "sysopt connection tcpmss 1300" to 1300 because of trouble connecting to a Cisco 3000 concentrator.

The main problem is I am getting intermittent dropped connections across the VPN, but not to the internet (it seems) from office3?

Why does '#show isakmp sa'  show created=3 ? I have only 2 links and one is not up much?

I turned on #debug crypto ipsec (output below) that I did see a IPSEC(sw_esp_decap): authenticate failed
IPSEC(cipher_ipsec_request): decap failed for 131.84.120.3 -> 212.181.15.120
There are only a few log entries below, but were over the last ? 24+ hours.

Does anyone see anything particularly wrong with the setup below? a few test results are below.
Would a quick drop (down and back up) from my ISP cause this? (3mb Cable Modem)

Thanks in advance for any help.

-----

#sh running-config sysopt
: Saved
:
PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxx encrypted
passwd xxxx encrypted
hostname defaultmap
domain-name testing.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 office2 permit ip 192.168.224.0 255.255.255.0 10.10.0.0 255.255.0.0
access-list nonat permit ip 192.168.224.0 255.255.255.0 10.10.0.0 255.255.0.0
access-list nonat permit ip 192.168.224.0 255.255.255.0 192.168.16.0 255.255.255.0
access-list office3 permit ip 192.168.224.0 255.255.255.0 192.168.16.0 255.255.255.0
pager lines 300
logging on
logging timestamp
logging console debugging
logging monitor errors
logging buffered errors
logging trap warnings
logging history errors
logging facility 19
logging host inside 192.168.224.1
mtu outside 1500
mtu inside 1500
ip address outside 212.181.15.120 255.255.255.0
ip address inside 192.168.224.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
static (inside,outside) 192.168.224.0 192.168.224.0 netmask 255.255.255.0 0 0
route outside 0.0.0.0 0.0.0.0 212.181.15.62 1
timeout xlate 3:00:00
timeout conn 3:00:00 half-closed 1:00: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
ntp server 148.167.132.200 source outside prefer
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection tcpmss 1300
sysopt connection permit-ipsec
crypto ipsec transform-set secure esp-3des esp-md5-hmac
crypto map defaultmap 5 ipsec-isakmp
crypto map defaultmap 5 match address office2
crypto map defaultmap 5 set pfs group2
crypto map defaultmap 5 set peer 163.51.155.2
crypto map defaultmap 5 set transform-set secure
crypto map defaultmap 10 ipsec-isakmp
crypto map defaultmap 10 match address office3
crypto map defaultmap 10 set pfs group2
crypto map defaultmap 10 set peer 131.84.120.3
crypto map defaultmap 10 set transform-set secure
crypto map defaultmap interface outside
isakmp enable outside
isakmp key ******** address 163.51.155.2 netmask 255.255.255.255
isakmp key ******** address 131.84.120.3 netmask 255.255.254.0
isakmp policy 5 authentication pre-share
isakmp policy 5 encryption 3des
isakmp policy 5 hash md5
isakmp policy 5 group 2
isakmp policy 5 lifetime 86400
telnet timeout 5
ssh timeout 5
terminal width 132
Cryptochecksum:761c9189ab263a86331921d9f86e0103
: end

pix1(config)# sh route
        outside 0.0.0.0 0.0.0.0 212.181.15.62 1 OTHER static
        inside 192.168.224.0 255.255.255.0 192.168.224.254 1 CONNECT static
        outside 212.181.15.0 255.255.255.192 212.181.15.120 1 CONNECT static

pix1(config)# show isakmp sa
Total     : 1 Embryonic : 0
        dst               src        state     pending     created
  131.84.120.3    212.181.15.120    QM_IDLE         0           3

pix1(config)# sh isa pol
Protection suite of priority 5
        encryption algorithm:   Three key triple DES
        hash algorithm:         Message Digest 5
        authentication method:  Pre-Shared Key
        Diffie-Hellman group:   #2 (1024 bit)
        lifetime:               86400 seconds, no volume limit
Default protection suite
        encryption algorithm:   DES - Data Encryption Standard (56 bit keys).
        hash algorithm:         Secure Hash Standard
        authentication method:  Rivest-Shamir-Adleman Signature
        Diffie-Hellman group:   #1 (768 bit)
        lifetime:               86400 seconds, no volume limit

pix1(config)# sh isa
isakmp enable outside
isakmp key ******** address 163.51.155.2 netmask 255.255.255.255
isakmp key ******** address 131.84.120.3 netmask 255.255.254.0
isakmp policy 5 authentication pre-share
isakmp policy 5 encryption 3des
isakmp policy 5 hash md5
isakmp policy 5 group 2
isakmp policy 5 lifetime 86400

pix1(config)# sh crypto map
Crypto Map: "defaultmap" interfaces: { outside }
Crypto Map "defaultmap" 5 ipsec-isakmp
        Peer = 163.51.155.2
        access-list office2; 1 elements
        access-list office2 line 1 permit ip 192.168.224.0 255.255.255.0 10.10.0.0 255.255.0.0 (hitcnt=3)
        Current peer: 163.51.155.2
        Security association lifetime: 4608000 kilobytes/28800 seconds
        PFS (Y/N): Y
        DH group:  group2
        Transform sets={ secure, }
Crypto Map "defaultmap" 10 ipsec-isakmp
        Peer = 131.84.120.3
        access-list office3; 1 elements
        access-list office3 line 1 permit ip 192.168.224.0 255.255.255.0 192.168.16.0 255.255.255.0 (hitcnt=5568)
        Current peer: 131.84.120.3
        Security association lifetime: 4608000 kilobytes/28800 seconds
        PFS (Y/N): Y
        DH group:  group2
        Transform sets={ secure, }
 
pix1(config)# sh crypto ipsec sa

interface: outside
    Crypto map tag: defaultmap, local addr. 212.181.15.120

;office2
   local  ident (addr/mask/prot/port): (192.168.224.0/255.255.255.0/0/0)
   remote ident (addr/mask/prot/port): (10.10.0.0/255.255.0.0/0/0)
   current_peer: 163.51.155.2:500
     PERMIT, flags={origin_is_acl,}
    #pkts encaps: 90, #pkts encrypt: 90, #pkts digest 90
    #pkts decaps: 59, #pkts decrypt: 59, #pkts verify 59
    #pkts compressed: 0, #pkts decompressed: 0
    #pkts not compressed: 0, #pkts compr. failed: 0, #pkts decompress failed: 0
    #send errors 0, #recv errors 0

     local crypto endpt.: 212.181.15.120, remote crypto endpt.: 163.51.155.2
     path mtu 1500, ipsec overhead 56, media mtu 1500
     current outbound spi: 0

     inbound esp sas:

     inbound ah sas:

     inbound pcp sas:

     outbound esp sas:

     outbound ah sas:

     outbound pcp sas:


;bmw
   local  ident (addr/mask/prot/port): (192.168.224.0/255.255.255.0/0/0)
   remote ident (addr/mask/prot/port): (192.168.16.0/255.255.255.0/0/0)
   current_peer: 131.84.120.3:500
     PERMIT, flags={origin_is_acl,}
    #pkts encaps: 36908, #pkts encrypt: 36908, #pkts digest 36908
    #pkts decaps: 38105, #pkts decrypt: 38105, #pkts verify 38105
    #pkts compressed: 0, #pkts decompressed: 0
    #pkts not compressed: 0, #pkts compr. failed: 0, #pkts decompress failed: 0
    #send errors 1, #recv errors 4

     local crypto endpt.: 212.181.15.120, remote crypto endpt.: 131.84.120.3
     path mtu 1500, ipsec overhead 56, media mtu 1500
     current outbound spi: a4f833c7

     inbound esp sas:
      spi: 0xe66ff80(241631104)
        transform: esp-3des esp-md5-hmac ,
        in use settings ={Tunnel, }
        slot: 0, conn id: 2, crypto map: defaultmap
        sa timing: remaining key lifetime (k/sec): (4605278/9996)
        IV size: 8 bytes
        replay detection support: Y

     inbound ah sas:

     inbound pcp sas:

     outbound esp sas:
      spi: 0xa4f833c7(2767729607)
        transform: esp-3des esp-md5-hmac ,
        in use settings ={Tunnel, }
        slot: 0, conn id: 1, crypto map: defaultmap
        sa timing: remaining key lifetime (k/sec): (4605053/9996)
        IV size: 8 bytes
        replay detection support: Y

     outbound ah sas:

     outbound pcp sas:

-----
#debug crypto ipsec
IPSEC(initialize_sas): ,
  (key eng. msg.) src= 212.181.15.120, dest= 131.84.120.3,
    src_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    dest_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 28800s and 4608000kb,
    spi= 0xc7412b42(3342936898), conn_id= 4, keysize= 0, flags= 0x25
IPSEC(validate_proposal_request): proposal part #1,
  (key eng. msg.) dest= 131.84.120.3, src= 212.181.15.120,
    dest_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    src_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 0s and 0kb,
    spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x24
IPSEC(validate_transform_proposal): peer address 212.181.15.120 not found
IPSEC(validate_proposal_request): proposal part #1,
  (key eng. msg.) dest= 131.84.120.3, src= 212.181.15.120,
    dest_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    src_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 0s and 0kb,
    spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x24
IPSEC(key_engine): got a queue event...
IPSEC(spi_response): getting spi 0xdf1f5759(3743373145) for SA
        from  131.84.120.3 to   212.181.15.120 for prot 3
IPSEC(key_engine): got a queue event...
IPSEC(initialize_sas): ,
  (key eng. msg.) dest= 212.181.15.120, src= 131.84.120.3,
    dest_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    src_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 28800s and 4608000kb,
    spi= 0xdf1f5759(3743373145), conn_id= 1, keysize= 0, flags= 0x25
IPSEC(initialize_sas): ,
  (key eng. msg.) src= 212.181.15.120, dest= 131.84.120.3,
    src_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    dest_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 28800s and 4608000kb,
    spi= 0xd96e98f6(3647903990), conn_id= 2, keysize= 0, flags= 0x25
IPSEC(add_sa): peer asks for new SAs -- expire current in 30 sec.,
  (sa) sa_dest= 212.181.15.120, sa_prot= 50,
    sa_spi= 0xddddddeb(3722305003),
    sa_trans= esp-3des esp-md5-hmac , sa_conn_id= 3,
  (identity) local= 212.181.15.120, remote= 131.84.120.3,
    local_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    remote_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4)
IPSEC(add_sa): peer asks for new SAs -- expire current in 30 sec.,
  (sa) sa_dest= 131.84.120.3, sa_prot= 50,
    sa_spi= 0xc7412b42(3342936898),
    sa_trans= esp-3des esp-md5-hmac , sa_conn_id= 4,
  (identity) local= 212.181.15.120, remote= 131.84.120.3,
    local_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    remote_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4)
IPSEC(key_engine): got a queue event...
IPSEC(key_engine_delete_sas): rec'd delete notify from ISAKMP
IPSEC(key_engine): got a queue event...
IPSEC(spi_response): getting spi 0x367a17bd(913971133) for SA
        from  131.84.120.3 to   212.181.15.120 for prot 3
IPSEC(validate_proposal_request): proposal part #1,
  (key eng. msg.) dest= 131.84.120.3, src= 212.181.15.120,
    dest_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    src_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 0s and 0kb,
    spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x24
IPSEC(key_engine): got a queue event...
IPSEC(initialize_sas): ,
  (key eng. msg.) dest= 212.181.15.120, src= 131.84.120.3,
    dest_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    src_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 28800s and 4608000kb,
    spi= 0x367a17bd(913971133), conn_id= 4, keysize= 0, flags= 0x25
IPSEC(initialize_sas): ,
  (key eng. msg.) src= 212.181.15.120, dest= 131.84.120.3,
    src_proxy= 192.168.224.0/255.255.255.0/0/0 (type=4),
    dest_proxy= 192.168.16.0/255.255.255.0/0/0 (type=4),
    protocol= ESP, transform= esp-3des esp-md5-hmac ,
    lifedur= 28800s and 4608000kb,
    spi= 0xa0fc140d(2700874765), conn_id= 3, keysize= 0, flags= 0x25
IPSEC(sw_esp_decap): authenticate failed
IPSEC(cipher_ipsec_request): decap failed for 131.84.120.3 -> 212.181.15.120

Start Free Trial
[+][-]12.09.2005 at 04:14PM PST, ID: 15456831

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Virtual Private Networking (VPN)
Tags: request, pix, udp
Sign Up Now!
Solution Provided By: lrmoore
Participating Experts: 1
Solution Grade: A
 
 
[+][-]12.10.2005 at 09:08AM PST, ID: 15459132

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2005 at 09:19AM PST, ID: 15459176

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32