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

PIX to Pix vpn question

Status
Not open for further replies.

upfront75

IS-IT--Management
Feb 12, 2009
18
US
I was told to post over here so Here is my original post,

Can someone help, I have been working on this all week and about to pull my hair out. I want to connect my pix 515e to a buddy of mine (pix 506e 6.3.5) and also have the ability to connect to it with the easyvpn client (5.0.01.0600).
thanks



PIX Version 8.0(4)
!
hostname firewall
domain-name
enable password encrypted
passwd encrypted
names
!
interface Ethernet0
nameif outside
security-level 0
ip address dhcp setroute
ospf cost 10
!
interface Ethernet1
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
ospf cost 10
!
interface Ethernet2
shutdown
no nameif
no security-level
no ip address
!
ftp mode passive
dns server-group DefaultDNS
domain-name
access-list outside_access_in extended permit icmp any any echo-reply
access-list outside_access_in extended permit icmp any any time-exceeded
access-list outside_access_in extended permit icmp any any source-quench
access-list outside_access_in extended permit icmp any any unreachable
access-list 101 extended permit tcp any interface outside eq 3389
access-list 101 extended permit icmp any any
access-list 101 extended permit tcp any interface outside eq www
access-list 101 extended permit tcp any interface outside eq pop3
access-list 101 extended permit tcp any interface outside eq smtp
access-list 101 extended permit tcp any interface outside eq imap4
access-list nonatacl extended permit ip 192.168.1.0 255.255.255.0 10.1.3.0 255.255.255.0
access-list splittinnel extended permit ip 192.168.1.0 255.255.255.0 10.1.3.0 255.255.255.0
access-list nonat extended permit ip 192.168.1.0 255.255.255.0 10.1.3.0 255.255.255.0
access-list vpn1-0 extended permit ip 192.168.1.0 255.255.255.0 192.168.0.0 255.255.255.0
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
ip local pool ippool 10.1.3.1-10.1.3.5
ip verify reverse-path interface outside
ip verify reverse-path interface inside
icmp unreachable rate-limit 1 burst-size 1
asdm image flash:/asdm-61551.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface 255.255.255.255
static (inside,outside) tcp interface 3389 192.168.1.2 3389 netmask 255.255.255.255
static (inside,outside) tcp interface pop3 192.168.1.2 pop3 netmask 255.255.255.255
static (inside,outside) tcp interface smtp 192.168.1.2 smtp netmask 255.255.255.255
static (inside,outside) tcp interface imap4 192.168.1.2 imap4 netmask 255.255.255.255
access-group 101 in interface outside
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set myset esp-3des esp-md5-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map dynmap 10 set peer 24.x.179.x
crypto dynamic-map dynmap 10 set transform-set myset
crypto dynamic-map dynmap 10 set security-association lifetime seconds 28800
crypto dynamic-map dynmap 10 set security-association lifetime kilobytes 4608000
crypto map mymap 1 match address vpn1-0
crypto map mymap 1 set peer 24.x.179.x
crypto map mymap 1 set transform-set myset
crypto map mymap 1 set security-association lifetime seconds 28800
crypto map mymap 1 set security-association lifetime kilobytes 4608000
crypto map mymap 10 ipsec-isakmp dynamic dynmap
crypto map mymap interface outside
crypto isakmp identity address
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcp-client client-id interface outside
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
tunnel-group 24.x.179.x type ipsec-l2l
tunnel-group 24.x.179.x ipsec-attributes
pre-shared-key *
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
!
service-policy global_policy global
prompt hostname context
 
is this your buddy's address? crypto map mymap 1 set peer 24.x.179.x

what is he using for your IP, looks like its dhcp?
 
Thats my screw up sorry, his is static but mine is dhcp, and yes thats his.
 
Yes this is his address, sorry thats my screw up, mine is dhcp and his is static. I was trying to keep the tunnal going even if my ip changed.
 
how? your buddy has to know your public IP and change it as your ISP changed it.
 
ok, It only gets changed every 3 months or so, I will have to update it then, I think I will look into getting a static then. Other than my other short comeings can you help me straighten out my config so that I can connect the two together? I can get his config if that will help. thanks for your info so far.
 
change this to destination any

access-list vpn1-0 extended permit ip 192.168.1.0 255.255.255.0 any who is this? 192.168.0.0 255.255.255.0

also post sho crypto isa sa
 
by doing this does this not open my tunnal up to any connection? or is this just for local access?
 
thats just for local access

also, i dont see in your access-list permit for tunnel traffic

access-list 101 extended permit tcp outside(source) destination eq 50

access-list 101 extended permit tcp outside(source) destination eq 51

access-list 101 extended permit tcp outside(source) destination eq isakmp

 
I tried adding the access -list info that you had listed and I get error "invalid hostname" I was useing my old PIX 501 6.3.5 config to set this one up and something came over and others just blew up when I added them, like on the old pix I did vpngroup vpnuser address-pool ippool and it gives an error. So there maybe some holes through out my config, this could be a very good reason why it is not working.
 
i just used example names. you should put in the actual name and/or IP address
 
So access-list 101 extended permit tcp outside(source) destination eq "50" would the 50 indicate the outside address of my pix or his or his? I am not trying to sound dumb but sometimes I get confused on where I am at on the config.
 
50 indicates the port that needs to be open for vpn tunnel
like:
access-list 101 extended permit tcp any interface outside eq www Port 80 for the web
access-list 101 extended permit tcp any interface outside eq pop3 port 110 for email incoming
access-list 101 extended permit tcp any interface outside eq smtp Port 25 mail outgoing
 
I have those at the top, my mail and everything seems to running fine, I can use the router with no problems, the only thing I am haveing issues with it getting the client to connect from remote and getting the other pix to connect to mine. Mybe I am missing something in there I will look.
thanks
 
You really should remove the remote access vpn config and concentrate
On getting the L2L vpn working. Once the L2L vpn is functional
Then look at the RA vpn config. Its difficult typing long messages
On a smartphone so ill leave you with some links:
Site to site; one side static one side dynamic

Also, some text from a troubleshooting doc from cisco:
If static and dynamic peers are configured on the same crypto map, the order of the crypto map entries is very important. The sequence number of the dynamic crypto map entry must be higher than all of the other static crypto map entries. If the static entries are numbered higher than the dynamic entry, connections with those peers fail and the debugs as shown appears.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
I know you have these "" I have those at the top, my mail and everything seems to running fine, I can use the router with no problems, the only thing I am haveing issues with it getting the client to connect from remote and getting the other pix to connect to mine. Mybe I am missing something in there I will look.
thanks """

But you do not have port 50, 51 or isakmp open
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top