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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VPN - Auth No prob- Blind as Bat! 1

Status
Not open for further replies.

mclauge

Programmer
Apr 4, 2002
15
0
0
US
Hello

Cisco 501 PIX ver 6.1(1) - Single Outside IP - DHCP provided but does not change. (persistant).

I'm trying to VPN in from the outside with VPN Client 3.5 running on Win 2K Pro. I can connect and auth with no problems. I can't ping or connect to anything once I get in.
I am assigned an IP from the pool. I used the Cisco resources as well as Pixscript to come to this point.
I am using MS IAS for auth.

Logs at level 4 report nothing.

Thanks in advance for any hints. First time VPN'er.



PIX Version 6.1(1)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxxxxx encrypted
passwd xxxxxxxxxx encrypted
hostname gateway
domain-name xxxxxxxxxxx.xxx
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 1720
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
no names
access-list acl_out permit tcp any host xx.xx.xx.xx eq 3389
access-list acl_out permit icmp any any echo-reply
access-list acl_out permit icmp any any time-exceeded
access-list acl_out permit icmp any any unreachable
access-list acl_out permit gre any any
access-list localtovpnclient permit ip 192.168.1.0 255.255.255.0 192.168.12.0 255.255.255.0
access-list nonatinside permit ip 192.168.1.0 255.255.255.0 192.168.12.0 255.255.255.0
pager lines 100
logging on
logging trap warnings
logging queue 0
logging host inside 192.168.1.X
interface ethernet0 10baset
interface ethernet1 10full
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute
ip address inside 192.168.1.254 255.255.255.0
ip verify reverse-path interface inside
ip audit info action alarm
ip audit attack action alarm
ip local pool vpnclientpool 192.168.12.1-192.168.12.10
pdm location 192.168.1.X 255.255.255.255 inside
pdm location 192.168.1.X 255.255.255.255 inside
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 interface 3389 192.168.1.1 3389 netmask 255.255.255.255 0 0
access-group acl_out in interface outside
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 partnerauth protocol radius
aaa-server partnerauth (inside) host 192.168.1.3 md1438pa timeout 5
aaa authentication telnet console partnerauth
aaa authentication ssh console partnerauth
http server enable
http 192.168.1.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
no sysopt route dnat
auth-prompt prompt Please Authenticate to the Firewall
auth-prompt accept OK - you are authenticated.
auth-prompt reject Authentication Failed. Try Again.
crypto ipsec transform-set mytransform esp-des esp-md5-hmac
crypto dynamic-map mydynmap 10 set transform-set mytransform
crypto map mymap 10 ipsec-isakmp dynamic mydynmap
crypto map mymap client authentication partnerauth
crypto map mymap interface outside
isakmp enable outside
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
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption des
isakmp policy 20 hash md5
isakmp policy 20 group 1
isakmp policy 20 lifetime 86400
vpngroup vpnejm address-pool vpnclientpool
vpngroup vpnejm dns-server 192.168.1.X 192.168.1.X
vpngroup vpnejm default-domain xxxxxxxxxxxxxxxx.xxx
vpngroup vpnejm split-tunnel localtovpnclient
vpngroup vpnejm idle-time 1800
vpngroup vpnejm password ********
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 20
ssh XX.XX.XX.XX 255.255.255.192 outside
ssh 192.168.1.0 255.255.255.0 inside
ssh timeout 20
terminal width 132
 
HI.

The problem might be somewhere between the remote client and the pix.

How is the remote client connected to the Internet?
Did you try a modem connection to ISP with registered ip address at the client?

Try also to test with a remote client connected directly to the outside interface of the pix to see if it works.

This will help you troubleshooting.

Bye
Yizhar Hurwitz
 
Yizhar,

You got my vote! You are right again! I tested on a 'clean IP' and had no problems getting in and seeing everything. My first attempts were from my place of employment and I am behind a PIX 520. I guess it is not set up to allow those types of connections. I am a software engineer by trade but like to experiment in a network technician's shoes!

Thank you for the debugging tips and also for PIXSCRIPT. I have learned alot! --
Ed McLaughlin, MCP
Senior Software Engineer
 
HI.

So if you need to VPN behind another pix, it can probably be done like this:

* Add a static nat to the workstation.
* Add access-list entries to allow the following traffic from the pix 501 outside interface to the static registered ip of the workstation:
UDP port 500 (isakmp)
IP protocol 50 (esp)

This should do it, but you need to test of course.

Bye
Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top