Question

PIX 501 - VPN and NAT broke

Asked by: nwru

I recently have changed ISPs in a branch office.  There was a VPN between the offices that worked before the switch, but I can't seem to get it working again.  I have NAT working again, but only on a single computer(192.168.30.150).  As you can see, I had 6 IPs to play with before, but now I only have 2, so I had to change things up a bit.  There have been no hardware changes.  I'll try to give as much relevant information as I can.

Headquarters: Cisco 1720 router - v12.1(21)
old config:
ip cef
crypto isakmp policy 4
 hash md5
 authentication pre-share
 group 2
crypto isakmp key ******** address 66.x.x.234
crypto ipsec transform-set trans1 esp-des esp-md5-hmac
crypto map combined 30 ipsec-isakmp
 set peer 66.x.x.234
 set transform-set trans1
 match address 107
interface Loopback0
 ip address 192.168.16.1 255.255.255.0
interface Serial0
 ip address 167.x.x.230 255.255.255.252
 ip access-group 115 in
 ip nat outside
 ip load-sharing per-packet
 no ip mroute-cache
 service-module t1 timeslots 1-24
 no cdp enable
 crypto map combined
interface Serial1
 ip address 167.x.x.242 255.255.255.252
 ip access-group 115 in
 ip nat outside
 ip load-sharing per-packet
 no ip mroute-cache
 service-module t1 timeslots 1-24
 no cdp enable
 crypto map combined
interface FastEthernet0
 ip address 192.168.10.1 255.255.255.0
 ip nat inside
 ip policy route-map nostatic
 speed auto
 half-duplex
 no cdp enable
ip nat pool natpool1 167.x.x.201 167.x.x.206 netmask 255.255.255.248
ip nat inside source route-map NAT pool natpool1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 167.x.x.229
ip route 0.0.0.0 0.0.0.0 167.x.x.241
access-list 102 deny   ip 192.168.10.0 0.0.0.255 192.168.30.0 0.0.0.255
access-list 102 permit ip 192.168.10.0 0.0.0.255 any
access-list 103 permit ip host 192.168.10.150 192.168.30.0 0.0.0.255
access-list 103 permit ip host 192.168.10.151 192.168.30.0 0.0.0.255
access-list 103 permit ip host 192.168.10.160 192.168.30.0 0.0.0.255
access-list 103 permit ip host 192.168.10.170 192.168.30.0 0.0.0.255
access-list 107 permit ip 192.168.10.0 0.0.0.255 192.168.30.0 0.0.0.255
access-list 115 permit ip 192.168.30.0 0.0.0.255 192.168.10.0 0.0.0.255
access-list 115 permit udp any any eq isakmp
access-list 115 permit esp any any
access-list 115 permit ahp any any
access-list 115 permit tcp any any eq 443
access-list 115 permit udp any any eq 443
access-list 115 permit icmp any any echo-reply
access-list 115 remark *** Allow a few port mappings ***
no cdp run
route-map nostatic permit 10
 match ip address 103
 set ip next-hop 192.168.16.2
route-map NAT permit 10
 match ip address 102
*************************************************
new config: (only changed these entries)
crypto isakmp key hamm123 address 68.x.x.217
crypto map combined 30 ipsec-isakmp
 set peer 68.x.x.217
 set transform-set trans1
 match address 107

*************************************************

Branch office: Cisco PIX 501 - v6.3(1)
old config:
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
access-list 102 permit ip 192.168.10.0 255.255.255.0 192.168.30.0 255.255.255.0
access-list 102 permit ip 192.168.20.0 255.255.255.0 192.168.30.0 255.255.255.0
access-list 102 permit tcp any any eq ssh
access-list 102 permit tcp any any eq 3389
access-list vpntohq permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0
ip address outside 66.x.x.234 255.255.255.248
ip address inside 192.168.30.1 255.255.255.0
global (outside) 1 66.x.x.236 netmask 255.255.255.248
nat (inside) 0 access-list vpntohq
nat (inside) 1 192.168.30.0 255.255.255.0 0 0
static (inside,outside) 66.x.x.235 192.168.30.150 netmask 255.255.255.255 0 0
access-group 102 in interface outside
route outside 0.0.0.0 0.0.0.0 66.x.x.233 1
crypto ipsec transform-set set1 esp-des esp-md5-hmac
crypto map map1 69 ipsec-isakmp
crypto map map1 69 match address vpntohq
crypto map map1 69 set peer 167.x.x.230
crypto map map1 69 set peer 167.x.x.242
crypto map map1 69 set transform-set set1
crypto map map1 interface outside
isakmp enable outside
isakmp key ******** address 167.x.x.230 netmask 255.255.255.255
isakmp key ******** address 167.x.x.242 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
*************************************************
new config: (only changed these entries)
ip address outside 68.x.x.217 255.255.255.252
global (outside) 1 interface
static (inside,outside) 68.x.x.217 192.168.30.150 netmask 255.255.255.255 0 0
route outside 0.0.0.0 0.0.0.0 68.x.x.218 1

So this simple ISP change has turned into a big ordeal.  Where it stands now is that no traffic can go between the two private networks over the VPN, whereas it could before.  Only 192.168.30.150 can get on the the Internet through NAT and no other machines can and they all could before too.  I was able to SSH to the PIX after changing only the ip address and route commands.  I was able to Remote Desktop to 192.168.30.150 via port 3389 after changing the global and static commands.  I'm no Cisco expert and I've been trying to figure this out for 16 hours straight, so I'm burnt out and desperate.  Please advise.  Thanks.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-06-22 at 22:01:05ID21467912
Tags

pix

Topic

Network Routers

Participating Experts
1
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Pix to Pix VPN
    Ok, here goes my first question at Experts-Exchange, which looks to me like the perfect place to get an answer. This first post is intended to explain the case and get some preliminary advice (if needed). Hopefully tomorrow i will be able to post more specific information abo...
  2. PIX-to-PIX VPN
    Hi Experts !!. Ok, one more VPN troubleshooting. I have some experience now with PIX VPN, but i cant get this one to work, eventhough i learned almost everything i know about PIX VPN in this great web site. Site-to-site VPN with two 501. Both Firewalls are each behind an ADS...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: nwruPosted on 2005-06-23 at 04:34:47ID: 14283009

Here's some logging on the pix.  Hopefully it will help.

xxxxxxxxxx(config)# logging on
xxxxxxxxxx(config)# 111008: User 'enable_15' executed the 'logging on' command.
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.242, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302013: Built outbound TCP connection 1849 for outside:192.168.20.150/135 (192.168.20.150/135) to inside:192.168.30.150/1742 (68.x.x.217/1742)
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.242, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302014: Teardown TCP connection 1847 for outside:192.168.10.54/7772 to inside:192.168.30.151/2149 duration 0:02:01 bytes 0 SYN Timeout
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.230, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302014: Teardown TCP connection 1848 for outside:192.168.40.150/135 to inside:192.168.30.150/1740 duration 0:02:01 bytes 0 SYN Timeout
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.230, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.242, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302013: Built outbound TCP connection 1850 for outside:192.168.10.155/135 (192.168.10.155/135) to inside:192.168.30.150/1775 (192.168.30.150/1775)
302014: Teardown TCP connection 1849 for outside:192.168.20.150/135 to inside:192.168.30.150/1742 duration 0:02:01 bytes 0 SYN Timeout
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.242, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302013: Built outbound TCP connection 1851 for outside:192.168.10.150/135 (192.168.10.150/135) to inside:192.168.30.150/1778 (192.168.30.150/1778)
302013: Built outbound TCP connection 1852 for outside:192.168.10.155/135 (192.168.10.155/135) to inside:192.168.30.150/1779 (192.168.30.150/1779)
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.230, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302013: Built outbound TCP connection 1853 for outside:192.168.10.150/135 (192.168.10.150/135) to inside:192.168.30.150/1790 (192.168.30.150/1790)
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.230, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302013: Built outbound TCP connection 1854 for outside:192.168.10.150/135 (192.168.10.150/135) to inside:192.168.30.150/1792 (192.168.30.150/1792)
302013: Built outbound TCP connection 1855 for outside:192.168.10.155/135 (192.168.10.155/135) to inside:192.168.30.150/1793 (192.168.30.150/1793)
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.242, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004
302014: Teardown TCP connection 1850 for outside:192.168.10.155/135 to inside:192.168.30.150/1775 duration 0:02:01 bytes 0 SYN Timeout
302013: Built outbound TCP connection 1856 for outside:192.168.10.155/135 (192.168.10.155/135) to inside:192.168.30.150/1795 (192.168.30.150/1795)
302013: Built outbound TCP connection 1857 for outside:192.168.40.150/135 (192.168.40.150/135) to inside:192.168.30.150/1797 (68.x.x.217/1797)
702303: sa_request, (key eng. msg.) src= 68.x.x.217, dest= 167.x.x.242, src_proxy= 192.168.30.0/255.255.255.0/0/0 (type=4), dest_proxy= 192.168.10.0/255.255.255.0/0/0 (type=4), protocol= ESP, transform= esp-des esp-md5-hmac , lifedur= 28800s and 4608000kb, spi= 0x0(0), conn_id= 0, keysize= 0, flags= 0x4004

 

by: lrmoorePosted on 2005-06-23 at 04:39:32ID: 14283037

>Only 192.168.30.150 can get on the the Internet through NAT and no other machines can and they all could before too.
Do you still have a nat (inside) statement?
  nat (inside) 1 192.168.30.0 255.255.255.0

For the VPN, try:
clear cry isa

sho cry is sa
(looking for QM_IDLE with peer ip)
sho access-list
(looking for hit count increases on vpntohq line)

I like to use two different acls for two different processes. One for nat and one for the crypto map match:

access-list nat_zero permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list vpntohq permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0
nat (inside) 0 access-list nat_zero
crypto map map1 69 match address vpntohq
crypto map map1 interface outside

Now you can use sho access-list to see hitcounts on each process for easier troubleshooting.

Instead of use the same crypto map entries for both peers (even though it's really the same peer), I would do this:
 
crypto map map1 69 ipsec-isakmp
crypto map map1 69 match address vpntohq
crypto map map1 69 set peer 167.x.x.230
crypto map map1 69 set transform-set set1
crypto map map1 70 ipsec-isakmp
crypto map map1 70 match address vpntohq
crypto map map1 70 set peer 167.x.x.242
crypto map map1 70 set transform-set set1

 

by: lrmoorePosted on 2005-06-23 at 04:42:34ID: 14283051

You can also try adding (on the pix)

 sysopt connect permit-ipsec

 

by: nwruPosted on 2005-06-23 at 05:47:31ID: 14283419

after a reload:

# sho cry is sa
Total     : 1
Embryonic : 1
    dst           src        state     pending     created
 167.x.x.230   68.x.x.217    MM_NO_STATE   0           0
# config t
(config)# clear cry isa
(config)# exit
# sho cry is sa
Total     : 0
Embryonic : 0
        dst               src        state     pending     created                      
#



#sh access-list vpntohq
access-list vpntohq; 1 elements
access-list vpntohq line 1 permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0 (hitcnt=40)  

#sh access-list vpntohq
access-list vpntohq; 1 elements
access-list vpntohq line 1 permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0 (hitcnt=58)

#sh access-list vpntohq
access-list vpntohq; 1 elements
access-list vpntohq line 1 permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0 (hitcnt=138)

So vpntohq is indeed getting hit, but I don't know what to make of it.

sysopt connect permit-ipsec didn't seem to do anything.  clear cry isa just took out my isakmp statements.  I'm not sure if that is a good thing or not.

 

by: nwruPosted on 2005-06-23 at 05:58:03ID: 14283497

and the nat statement is still there. I tried changing it to:

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

to no avail.  I just changed it back to:

nat (inside) 1 192.168.30.0 255.255.255.0 0 0

just now.

 

by: lrmoorePosted on 2005-06-23 at 06:06:39ID: 14283576

Let's see you complete PIX config as it is right now..

From sho cry is sa:
 MM_NO_STATE  
Did you ever see it go to:
 MM_KEY_EXCHANGE
 Or any other state?

The MM_NO_STATE often points to a mismatch in the pre-shared keys. You might want to re-enter the keys..

 

by: nwruPosted on 2005-06-23 at 06:21:34ID: 14283697

I have not seen the "sho cry is sa" in any other state than MM_NO_STATE.  I will try resetting the keys in a minute.  This is right after a fresh reload:

# sh run
: Saved
:
PIX Version 6.3(1)
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password D8D/rwKHesdfBHck encrypted
passwd v.6Dl2lo82srVBbk encrypted
hostname *****
domain-name ****.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 102 permit ip 192.168.10.0 255.255.255.0 192.168.30.0 255.255.255.0
access-list 102 permit tcp any any eq ssh
access-list 102 permit tcp any any eq 3389
access-list 102 permit tcp any any eq 3390
access-list vpntohq permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list nat_zero permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0
pager lines 24
logging console debugging
logging monitor debugging
mtu outside 1500
mtu inside 1500
ip address outside 68.x.x.217 255.255.255.252
ip address inside 192.168.30.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nat_zero
nat (inside) 1 192.168.30.0 255.255.255.0 0 0
static (inside,outside) 68.x.x.217 192.168.30.150 netmask 255.255.255.255 0 0
access-group 102 in interface outside
route outside 0.0.0.0 0.0.0.0 68.x.x.218 1
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:00:01 absolute
timeout xlate 0:01:00
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
tftp-server inside 192.168.30.150 PIX_CONF
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set set1 esp-des esp-md5-hmac
crypto map map1 69 ipsec-isakmp
crypto map map1 69 match address vpntohq
crypto map map1 69 set peer 167.x..x.230
crypto map map1 69 set transform-set set1
crypto map map1 70 ipsec-isakmp
crypto map map1 70 match address vpntohq
crypto map map1 70 set peer 167.x..x.242
crypto map map1 70 set transform-set set1
crypto map map1 interface outside
isakmp enable outside
isakmp key ******** address 167.x..x.230 netmask 255.255.255.255
isakmp key ******** address 167.x..x.242 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.30.0 255.255.255.0 inside
telnet timeout 60
ssh 167.x..74.200 255.255.255.248 outside
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh 192.168.0.0 255.255.0.0 inside
ssh timeout 60
console timeout 0
terminal width 80
Cryptochecksum:ce1f7fff6678df0755b788dca470fb2c
: end

# sh ver

Cisco PIX Firewall Version 6.3(1)
Cisco PIX Device Manager Version 1.1(2)

Compiled on Wed 19-Mar-03 11:49 by morlee

**** up 44 secs

Hardware:   PIX-501, 16 MB RAM, CPU Am5x86 133 MHz
Flash E28F640J3 @ 0x3000000, 8MB
BIOS Flash E28F640J3 @ 0xfffd8000, 128KB

0: ethernet0: address is 0008.a32b.8b24, irq 9
1: ethernet1: address is 0008.a32b.8b25, irq 10
Licensed Features:
Failover:           Disabled
VPN-DES:            Enabled
VPN-3DES-AES:       Enabled
Maximum Interfaces: 2
Cut-through Proxy:  Enabled
Guards:             Enabled
URL-filtering:      Enabled
Inside Hosts:       50
Throughput:         Unlimited
IKE peers:          10

This PIX has a Restricted (R) license.

Serial Number: 406018236 (0x183358bc)
Running Activation Key: 0x4ba3abb5 0x6184c4ee 0xcaf4c94e 0x020b31ab
Configuration last modified by enable_15 at 08:29:59.411 UTC Thu Jun 23 2005
# sh int
interface ethernet0 "outside" is up, line protocol is up
  Hardware is i82559 ethernet, address is 0008.a32b.8b24
  IP address 68.x.x.217, subnet mask 255.255.255.252
  MTU 1500 bytes, BW 10000 Kbit half duplex
        321 packets input, 34197 bytes, 0 no buffer
        Received 0 broadcasts, 0 runts, 0 giants
        0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
        305 packets output, 72490 bytes, 0 underruns
        0 output errors, 0 collisions, 0 interface resets
        0 babbles, 0 late collisions, 2 deferred
        1 lost carrier, 0 no carrier
        input queue (curr/max blocks): hardware (128/128) software (0/3)
        output queue (curr/max blocks): hardware (0/5) software (0/1)
interface ethernet1 "inside" is up, line protocol is up
  Hardware is i82559 ethernet, address is 0008.a32b.8b25
  IP address 192.168.30.1, subnet mask 255.255.255.0
  MTU 1500 bytes, BW 100000 Kbit full duplex
        319 packets input, 73580 bytes, 0 no buffer
        Received 8 broadcasts, 0 runts, 0 giants
        0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
        280 packets output, 29489 bytes, 0 underruns
        0 output errors, 0 collisions, 0 interface resets
        0 babbles, 0 late collisions, 0 deferred
        0 lost carrier, 0 no carrier
        input queue (curr/max blocks): hardware (128/128) software (0/3)
        output queue (curr/max blocks): hardware (0/3) software (0/1)

# sho cry is sa
Total     : 1
Embryonic : 1
    dst            src        state     pending     created
 167.x..x.242   68.x.x.217    MM_NO_STATE   0           0

# sh access-list vpntohq
access-list vpntohq; 1 elements
access-list vpntohq line 1 permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0 (hitcnt=29)

# sh access-list vpntohq
access-list vpntohq; 1 elements
access-list vpntohq line 1 permit ip 192.168.30.0 255.255.255.0 192.168.10.0 255.255.255.0 (hitcnt=32)

 

by: lrmoorePosted on 2005-06-23 at 06:48:38ID: 14283935

With the hitcounts on the acls increasing, it appears to be a key problem, or something on the router...
Try:
debug cry is sa

OIC the problem...
>ip address outside 68.x.x.217 255.255.255.252
>static (inside,outside) 68.x.x.217 192.168.30.150 netmask 255.255.255.255 0 0

You have the whole IP address of the outside interface mapped to an inside host. BIG NO-NO...
You must remove the static line... we'll get you new static's for port redirect for ssh/rdp after we get everything else working...

no static (inside,outside) 68.x.x.217 192.168.30.150 netmask 255.255.255.255 0 0
clear xlate

 

by: nwruPosted on 2005-06-23 at 06:59:02ID: 14284046

Unfortunately, I need the SSH and RDP to config the PIX, as I am not on location and can't access it any other way.  Any way around this?  I figured that I would still be able to SSH in, but apparently not.

 

by: nwruPosted on 2005-06-23 at 07:49:40ID: 14284605

I changed the:
static (inside,outside) 68.x.x.217 192.168.30.150 netmask 255.255.255.255 0 0
to:
static (inside,outside) tcp interface 3389 192.168.30.150 3389 netmask 255.255.255.255 0 0

Does that help at all?

 

by: nwruPosted on 2005-06-23 at 07:57:37ID: 14284689

I think I might have it.  I do have connectivity now, but am getting about 50% packet loss.  I'll try to narrow this down a bit.

 

by: nwruPosted on 2005-06-23 at 08:57:05ID: 14285437

I fixed the packet loss problem by putting all of the crypto map commands back together into "69."  Perhaps they need to be together?

In any case, the only differences between the above config and the current config are that static command and the crypto map thing.  Perhaps a well-timed reload helped get the VPN back into shape too.

My wild guess is that the PIX would go "hey, lets have a VPN party, please RSVP", the router in HQ would go "allright", and the response would get routed right to 192.168.30.150, who would just throw it out, because he's anti-social.

Anyways, your expertise is greatly appreciated lrmoore.  You're a life saver(and a job saver).  Thanks again.

 

by: lrmoorePosted on 2005-06-23 at 10:53:09ID: 14286681

Woohoo!
Sorry about the delay. Been busy with real job....

Glad to hear that your're working, and good report on the packet loss. I didn't realize that would happen...

- Cheers!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...