I am trying to set up a PIX Hub and Spoke configuration as shown in the cisco document of the same name at:
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080093bd3.shtmlI have configured three pixes so far and added an access list to allow pinging using:
access-list ping_acl permit icmp any any
access-group ping_acl in interface inside
Pix Central was configured like this:
ip address outside 10.10.10.177 255.255.255.224
ip address inside 172.16.25.1 255.255.255.0
dhcpd address 172.16.25.129-172.16.25.14
2 inside
hostname pix-central
route outside 0.0.0.0 0.0.0.0 10.10.10.225 1
access-list ping_acl permit icmp any any
access-group ping_acl in interface inside
isakmp enable outside
isakmp identity address
isakmp policy 5 authentication pre-share
isakmp policy 5 encryption aes-256
isakmp policy 5 hash md5
isakmp policy 5 group 1
isakmp policy 5 lifetime 1000
isakmp key pix1 address 10.10.10.169 netmask 255.255.255.255 no-xauth no-config-mode
isakmp key pix2 address 10.10.10.193 netmask 255.255.255.255 no-xauth no-config-mode
!--- Do not do Network Address Translation (NAT) on traffic to other PIXes.
access-list 100 permit ip 172.16.10.0 255.255.255.0 172.16.20.0 255.255.255.0
access-list 100 permit ip 172.16.10.0 255.255.255.0 172.16.25.0 255.255.255.0
!--- This is traffic to PIX 2.
access-list 120 permit ip 172.16.10.0 255.255.255.0 172.16.20.0 255.255.255.0
!--- This is traffic to PIX 3.
access-list 125 permit ip 172.16.10.0 255.255.255.0 172.16.25.0 255.255.255.0
crypto ipsec transform-set myset esp-3des esp-md5-hmac
!--- This is traffic to pix1.
crypto map hub-spoke 20 ipsec-isakmp
crypto map hub-spoke 20 match address 120
crypto map hub-spoke 20 set peer 10.10.10.193
crypto map hub-spoke 20 set transform-set myset
!--- This is traffic to pix2.
crypto map hub-spoke 25 ipsec-isakmp
crypto map hub-spoke 25 match address 125
crypto map hub-spoke 25 set peer 10.10.10.169
crypto map hub-spoke 25 set transform-set myset
crypto map hub-spoke interface outside
!--- Do not do NAT on traffic to other PIXes.
nat (inside) 0 access-list 100
sysopt connection permit-ipsec
Pix1 was configured like this:
ip address outside 10.10.10.169 255.255.255.224
ip address inside 172.16.25.1 255.255.255.0
dhcpd address 172.16.25.129-172.16.25.14
2 inside
hostname pix1
route outside 0.0.0.0 0.0.0.0 10.10.10.225 1
access-list ping_acl permit icmp any any
access-group ping_acl in interface inside
isakmp enable outside
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash md5
isakmp policy 10 group 1
isakmp policy 10 lifetime 1000
isakmp key pix1 address 10.10.10.177 netmask 255.255.255.255
access-list 100 permit ip 172.16.25.0 255.255.255.0 172.16.10.0 255.255.255.0
access-list 110 permit ip 172.16.25.0 255.255.255.0 172.16.10.0 255.255.255.0
crypto ipsec transform-set myset esp-3des esp-md5-hmac
crypto map hub-spoke 1 ipsec-isakmp
crypto map hub-spoke 1 match address 110
crypto map hub-spoke 1 set peer 10.10.10.177
crypto map hub-spoke 1 set transform-set myset
crypto map hub-spoke interface outside
nat (inside) 0 access-list 100
sysopt connection permit-ipsec
Pix2 was configured like this:
ip address outside 10.10.10.193 255.255.255.224
ip address inside 172.16.20.1 255.255.255.0
dhcpd address 172.16.20.129-172.16.20.14
2 inside
hostname pix2
route outside 0.0.0.0 0.0.0.0 10.10.10.225 1
access-list ping_acl permit icmp any any
access-group ping_acl in interface inside
isakmp enable outside
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes-256
isakmp policy 10 hash md5
isakmp policy 10 group 1
isakmp policy 10 lifetime 1000
isakmp key pix2 address 10.10.10.177 netmask 255.255.255.255 no-xauth no-config-mode
access-list 100 permit ip 172.16.20.0 255.255.255.0 172.16.10.0 255.255.255.0
access-list 110 permit ip 172.16.20.0 255.255.255.0 172.16.10.0 255.255.255.0
crypto ipsec transform-set myset esp-3des esp-md5-hmac
crypto map hub-spoke 1 ipsec-isakmp
crypto map hub-spoke 1 match address 110
crypto map hub-spoke 1 set peer 10.10.10.177
crypto map hub-spoke 1 set transform-set myset
crypto map hub-spoke interface outside
nat (inside) 0 access-list 100
sysopt connection permit-ipsec
from behind Pix central I can ping devices behind either pix1 or pix2 but I am unable to ssh into the servers or access their web pages.
I see no activity on the hitcounts for any of the access lists when I do anything other than ping from a device with the IP address 172.16.10.199 to a device behind Pix1 or Pix2
I want to limit access to one of two IP addresses 172.16.10.194 and 172.16.10.199 from behind Pix Central to have the free run of the devices behind the other pix. Eventually I want to add client to Pix configurations to each of these Pix, but I would like to get this restricted Hub and Spoke configuration working first.
Any thoughts of what to do to troubleshoot this config would be appreciated.
-t
Start Free Trial