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

Pix 501 VPN config. Please HELP!!

Status
Not open for further replies.

remychopp

Technical User
Jun 14, 2004
15
US
Hi guys,

Thanks in advance. Need some help with my vpn config. I used pixscript to configure it, but i cannot connect using cisco vpn client software. gets stuck at contacting security gateway. Im sure i screwed something up, so heres my config. Any help would be greatly appreciated.


PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ****** encrypted
passwd ******* encrypted
hostname PIX501
domain-name mydomain.com
fixup protocol dns maximum-length 1500
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 inbound permit tcp any host ******** eq 3389
access-list inbound permit tcp any host ******** eq 3388
access-list inbound permit tcp any host ******** eq 3387
access-list inbound permit icmp any any
access-list inbound permit tcp any host ******** eq 5500
access-list inbound permit udp 172.16.1.0 255.255.255.0 host 192.168.0.112 eq ne
tbios-ns
access-list inbound permit udp 172.16.1.0 255.255.255.0 host 192.168.0.112 eq do
main
access-list VPNACL permit ip 192.168.0.0 255.255.255.0 172.16.1.0 255.255.255.0

pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside dhcp
ip address inside 192.168.0.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool ITStank 172.16.1.1-172.16.1.10
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list VPNACL
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface 3389 192.168.0.112 3389 netmask 255.255.25
5.255 0 0
static (inside,outside) tcp interface 3388 192.168.0.100 3389 netmask 255.255.25
5.255 0 0
static (inside,outside) tcp interface 3387 192.168.0.102 3389 netmask 255.255.25
5.255 0 0
static (inside,outside) tcp interface 5500 192.168.0.100 5500 netmask 255.255.25
5.255 0 0
access-group inbound in interface outside
route outside 0.0.0.0 0.0.0.0 ****** 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 TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
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 ITSdes esp-des
crypto dynamic-map ITSdyn 10 set transform-set ITSdes
crypto map ITSdes 100 ipsec-isakmp dynamic ITSdyn
crypto map ITSdes interface outside
isakmp enable outside
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 1
isakmp policy 10 lifetime 86400
vpngroup ITSvpn address-pool ITStank
vpngroup ITSvpn dns-server 192.168.0.112
vpngroup ITSvpn wins-server 192.168.0.112
vpngroup ITSvpn split-tunnel VPNACL
vpngroup ITSvpn idle-time 1800
vpngroup ITSvpn password ********
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
 
I can see you are using dhcp for the outside interface, but you have manually set a default route, are you sure that it is the right one ? you could use the "ip address outside dhcp setroute" command and remove your static default route from the config.


Network Systems Engineer
CCNA/CQS/CCSP/Infosec
 
thanks for the reply dopehead. I made the change on the firewall but the vpn still wont work. there is one thing i noticed in my config that might be conflicting. the line "crypto map ITSdes 100 ipsec-isakmp dynamic ITSdyn" is set to 100 as apposed to 10. Would this be causing it not to work?
 
I added that line and i still cannot connect. The error that I am receiving on the client side log is: Invalid SPI size (payloadnotify:116)

received malformed message or negotiation no longer active.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top