11-02-2017 07:26 AM - edited 03-12-2019 04:41 AM
Hi everybody,
I'm trying to built site to site vpn between two pix firewall using 6.3 software version one end with static IP and other end with Dynamic IP.
vpn tunnel look like up but no traffic passing, kindly any body can help me to solve this issue.
Central Pix Firewall Configuration.
PIX Version 6.3(4)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxxx encrypted
passwd xxxxxxxxxxxxx encrypted
hostname xxxxxxx
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 outside-in permit tcp any host xxxxxxxxx eq 7007
access-list nonat permit ip 172.16.0.0 255.255.255.0 172.16.100.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside x.x.x.x 255.255.255.248
ip address inside 172.16.0.1 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
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp x.x.x.x 7007 172.16.0.3 7007 netmask 255.255.255.255 0 0
access-group outside-in in interface outside
conduit permit icmp any any
route outside 0.0.0.0 0.0.0.0 x.x.x.x
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 myset esp-des esp-md5-hmac
crypto dynamic-map cisco 1 set transform-set myset
crypto map dyn-map 20 ipsec-isakmp dynamic cisco
crypto map dyn-map interface outside
isakmp enable outside
isakmp key ******** address 0.0.0.0 netmask 0.0.0.0
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 1000
telnet 172.16.0.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 172.16.0.100-172.16.0.199 inside
dhcpd dns 68.87.73.242 68.87.71.226
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:53dce0884f8389e2cb96bc778f0a0054
: end
Tele# show crypto isakmp sa
Total : 1
Embryonic : 0
dst src state pending created
x.x.187.17 174.205.17.203 QM_IDLE 0 1
Tele# show crypto ipsec sa
interface: outside
Crypto map tag: dyn-map, local addr. x.x.187.17
local ident (addr/mask/prot/port): (172.16.0.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (172.16.100.0/255.255.255.0/0/0)
current_peer: 174.205.17.203:12026
PERMIT, flags={}
#pkts encaps: 0, #pkts encrypt: 0, #pkts digest 0
#pkts decaps: 0, #pkts decrypt: 0, #pkts verify 0
#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.: x.x.187.17, remote crypto endpt.: 174.205.17.203
path mtu 1500, ipsec overhead 56, media mtu 1500
current outbound spi: b2c8e4fa
inbound esp sas:
spi: 0x72804ee2(1921011426)
transform: esp-des esp-md5-hmac ,
in use settings ={Tunnel, }
slot: 0, conn id: 2, crypto map: dyn-map
sa timing: remaining key lifetime (k/sec): (4608000/28457)
IV size: 8 bytes
replay detection support: Y
inbound ah sas:
inbound pcp sas:
outbound esp sas:
spi: 0xb2c8e4fa(2999510266)
transform: esp-des esp-md5-hmac ,
in use settings ={Tunnel, }
slot: 0, conn id: 1, crypto map: dyn-map
sa timing: remaining key lifetime (k/sec): (4608000/28457)
IV size: 8 bytes
replay detection support: Y
outbound ah sas:
outbound pcp sas:
Tele#
Remote Site Pix config
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxx encrypted
passwd xxxxxxxxxxxx encrypted
hostname Remote
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 101 permit ip 172.16.100.0 255.255.255.0 172.16.0.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute
ip address inside 172.16.100.1 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 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
conduit permit icmp any any
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 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
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set MYSET esp-des esp-md5-hmac
crypto map newmap 10 ipsec-isakmp
crypto map newmap 10 match address 101
crypto map newmap 10 set peer x.x.187.17
crypto map newmap 10 set transform-set MYSET
crypto map newmap interface outside
isakmp enable outside
isakmp key ******** address x.x.187.17 netmask 255.255.255.255
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 1000
telnet 172.16.100.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 172.16.100.101-172.16.100.199 inside
dhcpd dns 192.168.1.1
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:eac6548fa86c57ca7987c73333034a3b
: end
Remote#
Remote# show crypt isakmp sa
Total : 1
Embryonic : 0
dst src state pending created
x.x.187.17 192.168.1.2 QM_IDLE 0 1
Remote# show crypt ipsec sa
interface: outside
Crypto map tag: newmap, local addr. 192.168.1.2
local ident (addr/mask/prot/port): (172.16.100.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (172.16.0.0/255.255.255.0/0/0)
current_peer: x.x.187.17:500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 970, #pkts encrypt: 970, #pkts digest 970
#pkts decaps: 0, #pkts decrypt: 0, #pkts verify 0
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0, #pkts decompress failed: 0
#send errors 299, #recv errors 0
local crypto endpt.: 192.168.1.2, remote crypto endpt.: x.x.187.17
path mtu 1500, ipsec overhead 56, media mtu 1500
current outbound spi: 72804ee2
inbound esp sas:
spi: 0xb2c8e4fa(2999510266)
transform: esp-des esp-md5-hmac ,
in use settings ={Tunnel, }
slot: 0, conn id: 1, crypto map: newmap
sa timing: remaining key lifetime (k/sec): (4608000/28017)
IV size: 8 bytes
replay detection support: Y
inbound ah sas:
inbound pcp sas:
outbound esp sas:
spi: 0x72804ee2(1921011426)
transform: esp-des esp-md5-hmac ,
in use settings ={Tunnel, }
slot: 0, conn id: 2, crypto map: newmap
sa timing: remaining key lifetime (k/sec): (4607987/28017)
IV size: 8 bytes
replay detection support: Y
outbound ah sas:
outbound pcp sas:
Remote#
11-02-2017 11:52 AM
Pix 1:
"nat (inside) 0 access-list nonat
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp x.x.x.x 7007 172.16.0.3 7007 netmask 255.255.255.255 0 0
"
Pix 2:
"global (outside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
conduit permit icmp any any
Take a look on NAT. Looks like they are doing this differently and this can cause problems.
-If I helped you somehow, please, rate it as useful.-
11-02-2017 12:19 PM
Pix 1:
global (outside) 1 interface //this line for going outside internet use for site.
"nat (inside) 0 access-list nonat //this line for nonat traffice between sites
nat (inside) 1 0.0.0.0 0.0.0.0 0 0 //this line for going outside internet use for site.
static (inside,outside) tcp x.x.x.x 7007 172.16.0.3 7007 netmask 255.255.255.255 0 0 //inside server mapping with outside access
Nat is working.......fine
11-03-2017 08:44 AM
Hi Aamirkiani1,
The configuration seems OK from what I can tell.
The tunnels is up and the remote PIX is sending traffic over the tunnel. but on the central PIX there are no decaps.
It could be that the service provider is not allowing the esp packets.
In order to confirm this you could run a capture for esp packets and see if the central PIX is actually receiving the packets.
If the packets are reaching the central PIX I would have a look at the log messages on the central PIX matching the remote public IP, if it is doping the packets there should be a log.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide