02-08-2016 01:57 AM
Hi,
ASA's are not my strongest point. I had to make some changes to my clients ASA when the changed provider. The ASA used to be NAT'd to an NTU the old provider gave us, the new Provider the ASA is NAT'd to a modem. The only thing that doesn't work right is the VPN.
When the IPSec VPN connects we can't ping, telnet/ssh or RDP to any of the devises. My guess is the ACL's aren't quite right. Could somebody have a look at the config and suggest anything?
WAN---ASA---LAN(192.168.20.x)
I've removed usernames/passwords and changed the public IP address around for security.
asa# sh run
: Saved
:
ASA Version 8.2(5)
!
hostname asa
domain-name afpo.local
enable password JCdTyvBk.ia9GKSj encrypted
passwd d/TIM/v60pVIbiEg encrypted
names
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
!
interface Ethernet0/3
!
interface Ethernet0/4
!
interface Ethernet0/5
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.20.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
pppoe client vpdn group idnet
ip address pppoe setroute
!
banner exec *****************************************************
banner exec ***************** SCP Backup Enabled ****************
banner exec ******************* SYSLOG Enabled ******************
banner exec *****************************************************
ftp mode passive
clock timezone GMT/BST 0
clock summer-time GMT/BDT recurring last Sun Mar 1:00 last Sun Oct 2:00
dns domain-lookup inside
dns server-group DefaultDNS
name-server 192.168.20.201
domain-name afpo.local
same-security-traffic permit intra-interface
object-group network GFI-SERVERS
network-object 5.11.77.0 255.255.255.0
network-object 93.57.176.0 255.255.255.0
network-object 94.186.192.0 255.255.255.0
network-object 184.36.144.0 255.255.255.0
network-object 192.67.16.0 255.255.252.0
network-object 208.43.37.0 255.255.255.0
network-object 228.70.81.0 255.255.252.0
network-object 98.98.51.176 255.255.255.240
access-list INBOUND extended permit tcp any interface outside eq https inactive
access-list INBOUND extended permit tcp any interface outside eq 987
access-list INBOUND extended permit tcp object-group GFI-SERVERS interface outside eq smtp inactive
access-list INBOUND extended permit tcp object-group GFI-SERVERS interface outside eq ldaps
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 10.0.0.0 255.255.0.0
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 172.16.0.0 255.255.255.0
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 172.16.0.0 255.255.255.128
access-list RITM extended permit ip 10.71.79.0 255.255.255.0 10.0.0.0 255.255.0.0
access-list CLIENT_VPN extended permit ip any 172.16.0.0 255.255.255.128
access-list SPLIT_TUNNEL standard permit 10.71.79.0 255.255.255.0
access-list TSadmin_splitTunnelAcl standard permit 10.71.79.0 255.255.255.0
pager lines 24
logging enable
logging trap informational
logging asdm informational
logging host inside 10.71.79.2
mtu inside 1500
mtu outside 1500
ip local pool CLIENT_VPN_POOL 172.16.0.1-172.16.0.126 mask 255.255.255.128
ip local pool SSL_VPN_POOL 172.16.0.129-172.16.0.254 mask 255.255.255.128
ip verify reverse-path interface outside
ip audit attack action alarm drop
icmp unreachable rate-limit 1 burst-size 1
icmp permit 10.71.79.0 255.255.255.0 echo inside
icmp permit any inside
icmp permit any unreachable outside
icmp permit 86.84.144.144 255.255.255.240 echo outside
icmp permit any outside
asdm image disk0:/asdm-645.bin
asdm history enable
arp timeout 14400
nat-control
global (outside) 1 interface
nat (inside) 0 access-list NONAT
nat (inside) 1 192.168.20.0 255.255.255.0
static (inside,outside) tcp interface smtp 10.71.79.2 smtp netmask 255.255.255.255
static (inside,outside) tcp interface https 10.71.79.2 https netmask 255.255.255.255
static (inside,outside) tcp interface 987 10.71.79.2 987 netmask 255.255.255.255
static (inside,outside) tcp interface ldaps 10.71.79.2 ldaps netmask 255.255.255.255
access-group INBOUND 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
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
aaa-server RADIUS_SERVER protocol radius
aaa-server RADIUS_SERVER (inside) host 10.71.79.2
key *****
radius-common-pw *****
no mschapv2-capable
aaa authentication ssh console LOCAL
http server enable
http server session-timeout 60
http 0.0.0.0 0.0.0.0 inside
http 87.84.164.144 255.255.255.240 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
service resetinbound interface inside
service resetinbound interface outside
service resetoutside
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map DYN_CLIENT_VPN 10 match address CLIENT_VPN
crypto dynamic-map DYN_CLIENT_VPN 10 set transform-set ESP-AES-256-SHA ESP-3DES-MD5
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs group1
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map IPSEC_VPN 10 match address RITM
crypto map IPSEC_VPN 10 set peer 88.98.52.177
crypto map IPSEC_VPN 10 set transform-set ESP-AES-256-SHA ESP-3DES-MD5
crypto map IPSEC_VPN 100 ipsec-isakmp dynamic DYN_CLIENT_VPN
crypto map IPSEC_VPN 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map IPSEC_VPN interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption aes-256
hash sha
group 5
lifetime 86400
crypto isakmp policy 20
authentication pre-share
encryption aes-192
hash sha
group 5
lifetime 86400
crypto isakmp policy 30
authentication pre-share
encryption aes
hash sha
group 5
lifetime 86400
crypto isakmp policy 40
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh scopy enable
ssh 0.0.0.0 0.0.0.0 inside
ssh 88.98.52.176 255.255.255.240 outside
ssh 175.171.144.58 255.255.255.255 outside
ssh 89.187.81.30 255.255.255.255 outside
ssh timeout 60
ssh version 2
console timeout 30
management-access inside
vpdn group idnet request dialout pppoe
vpdn group idnet localname <Removed>
vpdn group idnet ppp authentication chap
vpdn username <Removed> password *****
threat-detection basic-threat
threat-detection scanning-threat shun except ip-address 10.0.0.0 255.255.0.0
threat-detection scanning-threat shun duration 360
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
ntp server 130.88.202.49 source outside prefer
tftp-server outside 86.84.174.157 /Aberdeen_Fishing_Producers_(ASA5505).config
webvpn
port 4443
enable outside
dtls port 4443
svc image disk0:/anyconnect-win-2.4.0202-k9.pkg 1
svc image disk0:/anyconnect-macosx-i386-2.4.0202-k9.pkg 2
svc image disk0:/anyconnect-macosx-powerpc-2.4.0202-k9.pkg 3
svc profiles ANYCONNECT_PROFILE disk0:/AnyConnectProfile.xml
svc enable
group-policy DfltGrpPolicy attributes
wins-server value 10.71.79.2
dns-server value 10.71.79.2
vpn-simultaneous-logins 10
vpn-tunnel-protocol IPSec svc
ip-comp enable
pfs enable
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SPLIT_TUNNEL
default-domain value afpo.local
webvpn
svc rekey time 60
svc rekey method ssl
svc profiles value ANYCONNECT_PROFILE
svc ask none default svc
group-policy TSadmin internal
group-policy TSadmin attributes
wins-server value 10.71.79.2
dns-server value 10.71.79.2
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value TSadmin_splitTunnelAcl
default-domain value afpo.local
username backup password qwzcxbPwKZ7WiiEC encrypted privilege 15
username backup attributes
service-type remote-access
username admin password Cg9KcOsN6Wl24jnz encrypted privilege 15
username admin attributes
service-type remote-access
username tsadmin password v./oXn.idbhaKhwk encrypted privilege 15
username ritm password 7AzpFEsR/R60CY.O encrypted privilege 15
username ritm attributes
service-type remote-access
tunnel-group DefaultWEBVPNGroup general-attributes
address-pool SSL_VPN_POOL
authentication-server-group RADIUS_SERVER LOCAL
tunnel-group RemoteVPN type remote-access
tunnel-group RemoteVPN general-attributes
address-pool CLIENT_VPN_POOL
authentication-server-group RADIUS_SERVER LOCAL
tunnel-group RemoteVPN ipsec-attributes
pre-shared-key *****
tunnel-group 87.91.52.177 type ipsec-l2l
tunnel-group 89.78.52.177 ipsec-attributes
pre-shared-key *****
tunnel-group TSadmin type remote-access
tunnel-group TSadmin general-attributes
address-pool CLIENT_VPN_POOL
default-group-policy TSadmin
tunnel-group TSadmin 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 client auto
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 sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:9ddde99467420daf7c1b8d414dd04cf3
: end
asa#
Solved! Go to Solution.
02-08-2016 09:27 AM
Doug,
The nat is going to work from inside to outside so if the LAN is 192.168.20.0 the nat should be like this:
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 172.16.0.129 255.255.255.128
Just to get this clear you are using Remote VPN you should add the 192.168.20.0 to the split tunnel ACL:
access-list SPLIT_TUNNEL standard permit 192.168.20.0 255.255.255.0
-JP-
02-08-2016 06:14 AM
Try this:
access-list NONAT extended permit ip 10.71.79.0 255.255.255.0 172.16.0.129 255.255.255.128
-JP-
02-08-2016 08:55 AM
Thanks for the reply.
Just to clarify even though the production LAN is 192.168.20.0 I should still try access-list NONAT extended permit ip 10.71.79.0 255.255.255.0 172.16.0.129 255.255.255.128 or should i swap 10.71.79.0 for 192.168.20.0?
Thanks
Doug
02-08-2016 09:27 AM
Doug,
The nat is going to work from inside to outside so if the LAN is 192.168.20.0 the nat should be like this:
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 172.16.0.129 255.255.255.128
Just to get this clear you are using Remote VPN you should add the 192.168.20.0 to the split tunnel ACL:
access-list SPLIT_TUNNEL standard permit 192.168.20.0 255.255.255.0
-JP-
02-09-2016 11:23 AM
Are you trying to do Ipsec Remote access or site to site?
It looks like you also have some extra no-nats:
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 172.16.0.0 255.255.255.0
access-list NONAT extended permit ip 192.168.20.0 255.255.255.0 172.16.0.0 255.255.255.128
The second rule is covered by the first one. I would take out the second one to make sure it doesn't get confused.
Also, you mentioned this worked before the provider change? Is phase 1 coming up for sure?
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