03-02-2020 08:56 PM
hello , I facing a tricky issue recently. I configured a remote access ipsec vpn (ikev1) on my new ASA (v9.8).
and then, when the VPN client connected the VPN, the client can access inside source only, not able the access the internet via the VPN. yep , I know you may think some config was wrong, but , I have same config on others ASA (9.6; 9.1), it's working fine. actually, I did compared the config and still can't figure out whats the different.....
(I guess it should NAT or routing or acl)
below it's the config (this ASA has a L2L VPN and a RA VPN)
I highlight the RA VPN part:
: Hardware: ASA5506, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)
!
ASA Version 9.8(2)
!
hostname XXX-ASA
domain-name domain.com
enable password xxxxxxxxxxxxxxxxxxxxxxxxxxx
names
ip local pool VPN_POOL 172.16.18.10-172.16.18.250
!
interface GigabitEthernet1/1
nameif outside
security-level 0
ip address 180.x.x.x 255.255.255.252
!
interface GigabitEthernet1/2
bridge-group 1
nameif inside_1
security-level 100
!
interface GigabitEthernet1/3
bridge-group 1
nameif inside_2
security-level 100
!
interface GigabitEthernet1/4
bridge-group 1
nameif inside_3
security-level 100
!
interface GigabitEthernet1/5
bridge-group 1
nameif inside_4
security-level 100
!
interface GigabitEthernet1/6
bridge-group 1
nameif inside_5
security-level 100
!
interface GigabitEthernet1/7
bridge-group 1
nameif inside_6
security-level 100
!
interface GigabitEthernet1/8
bridge-group 1
nameif inside_7
security-level 100
!
interface Management1/1
management-only
no nameif
no security-level
no ip address
!
interface BVI1
nameif inside
security-level 100
ip address 192.168.18.2 255.255.255.0
!
ftp mode passive
clock timezone CST 8
dns domain-lookup inside_1
dns domain-lookup inside_7
dns domain-lookup inside
dns server-group DefaultDNS
name-server 192.168.18.44
domain-name domain.com
same-security-traffic permit inter-interface
object network obj_any1
subnet 0.0.0.0 0.0.0.0
object network obj_any2
subnet 0.0.0.0 0.0.0.0
object network obj_any3
subnet 0.0.0.0 0.0.0.0
object network obj_any4
subnet 0.0.0.0 0.0.0.0
object network obj_any5
subnet 0.0.0.0 0.0.0.0
object network obj_any6
subnet 0.0.0.0 0.0.0.0
object network obj_any7
subnet 0.0.0.0 0.0.0.0
object network inside-network
subnet 192.168.18.0 255.255.255.0
object network IPSEC_VPN_NAT
subnet 172.16.18.0 255.255.255.0
object-group service MSN1863 tcp
port-object range 1863 1863
object-group service CitrixServices tcp
port-object range citrix-ica citrix-ica
port-object range 2598 2598
object-group service customer tcp
description customer
port-object range 8020 8020
object-group service tax tcp
description tax
port-object range 8100 8100
object-group service crm tcp
description crm
port-object range 8080 8080
object-group service OutgoingServices tcp
port-object eq ftp
port-object eq ftp-data
port-object eq www
port-object eq https
port-object eq pop3
port-object eq smtp
port-object range 465 465
port-object range 995 995
port-object range 22223 22223
group-object CitrixServices
group-object customer
group-object tax
group-object crm
port-object range 587 587
port-object range 993 993
object-group network VPN-group
network-object 192.168.0.0 255.255.255.0
network-object 192.168.2.0 255.255.255.0
network-object 10.1.0.0 255.255.0.0
network-object 192.168.1.0 255.255.255.0
network-object host 192.168.8.57
network-object 192.168.59.0 255.255.255.0
network-object 172.16.100.0 255.255.255.0
object-group network WannaCrypt
network-object host a.a.a.a
network-object host b.b.b.b
network-object host c.c.c.c
network-object host d.d.d.d
access-list outside_access_in extended deny tcp object-group WannaCrypt any
access-list outside_access_in extended permit icmp any interface outside
access-list outside_access_in extended permit icmp any any echo
access-list outside_access_in extended permit icmp any any echo-reply
access-list outside_20_cryptomap extended permit ip object inside-network object-group VPN-group
access-list outside_20_cryptomap extended permit ip object IPSEC_VPN_NAT object-group VPN-group
pager lines 24
logging enable
logging trap warnings
logging asdm informational
logging host inside 192.168.0.151
mtu outside 1500
mtu inside_1 1500
mtu inside_2 1500
mtu inside_3 1500
mtu inside_4 1500
mtu inside_5 1500
mtu inside_6 1500
mtu inside_7 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
arp rate-limit 16384
nat (inside_1,outside) source static inside-network inside-network destination static VPN-group VPN-group no-proxy-arp route-lookup
nat (inside_1,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
nat (inside_2,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
nat (inside_3,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
nat (inside_4,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
nat (inside_5,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
nat (inside_6,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
nat (inside_7,outside) source static inside-network inside-network destination static IPSEC_VPN_NAT IPSEC_VPN_NAT no-proxy-arp route-lookup
!
object network obj_any1
nat (inside_1,outside) dynamic interface
object network obj_any2
nat (inside_2,outside) dynamic interface
object network obj_any3
nat (inside_3,outside) dynamic interface
object network obj_any4
nat (inside_4,outside) dynamic interface
object network obj_any5
nat (inside_5,outside) dynamic interface
object network obj_any6
nat (inside_6,outside) dynamic interface
object network obj_any7
nat (inside_7,outside) dynamic interface
!
nat (outside,outside) after-auto source dynamic IPSEC_VPN_NAT interface
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 180.x.x.z 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 sctp 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
timeout conn-holddown 0:00:15
timeout igp stale-route 0:01:10
aaa-server My_Radius protocol radius
aaa-server My_Radius (inside) host 192.168.0.44
key xxxxxxxxxxxxxxxx
aaa-server My_Radius (inside) host 192.168.0.45
key xxxxxxxxxxxxxxxx
aaa-server KMT_Radius protocol radius
aaa-server KMT_Radius (inside) host 192.168.18.44
key xxxxxxxxxxxxxxxx
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
aaa authentication telnet console My_Radius
aaa authorization command LOCAL
aaa authentication login-history
http server enable
http 192.168.1.0 255.255.255.0 inside_1
http 192.168.1.0 255.255.255.0 inside_2
http 192.168.1.0 255.255.255.0 inside_3
http 192.168.1.0 255.255.255.0 inside_4
http 192.168.1.0 255.255.255.0 inside_5
http 192.168.1.0 255.255.255.0 inside_6
http 192.168.1.0 255.255.255.0 inside_7
snmp-server host inside 192.168.0.211 community xxxxxxxxx version 2c
no snmp-server location
no snmp-server contact
snmp-server community xxxxxxxxxxx
service sw-reset-button
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set RA_TRANS esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set RA_TRANS mode transport
crypto ipsec security-association pmtu-aging infinite
crypto dynamic-map DYNMAP 1 set ikev1 transform-set RA_TRANS
crypto dynamic-map DYNMAP 1 set reverse-route
crypto map outside_map 10 match address outside_20_cryptomap
crypto map outside_map 10 set peer 202.x.x.x
crypto map outside_map 10 set ikev1 transform-set ESP-DES-SHA
crypto map outside_map 10 set reverse-route
crypto map outside_map 20 ipsec-isakmp dynamic DYNMAP
crypto map outside_map interface outside
crypto ca trustpool policy
crypto isakmp identity hostname
crypto isakmp nat-traversal 1500
crypto ikev1 enable outside
crypto ikev1 policy 5
authentication pre-share
encryption 3des
hash sha
group 2
lifetime none
crypto ikev1 policy 10
authentication pre-share
encryption aes-256
hash sha
group 2
lifetime 28800
crypto ikev1 policy 11
authentication pre-share
encryption des
hash sha
group 2
lifetime none
crypto ikev1 policy 20
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 30
authentication pre-share
encryption aes-256
hash md5
group 2
lifetime 86400
crypto ikev1 policy 55
authentication pre-share
encryption aes-256
hash sha
group 2
lifetime none
crypto ikev1 policy 60
authentication pre-share
encryption aes-256
hash md5
group 5
lifetime none
telnet 192.168.0.0 255.255.0.0 inside_1
telnet timeout 60
no ssh stricthostkeycheck
ssh 119.x.x.x 255.255.255.255 outside
ssh 202.x.x.x 255.255.255.255 outside
ssh 14.x.x.x 255.255.255.255 outside
ssh 192.168.0.0 255.255.0.0 inside_1
ssh timeout 60
ssh version 2
ssh key-exchange group dh-group1-sha1
console timeout 0
management-access inside
dhcpd auto_config outside
dhcpd option 3 ip 192.168.18.2
!
dhcpd address 192.168.18.45-192.168.18.200 inside
dhcpd dns 192.168.0.44 192.168.0.46 interface inside
dhcpd domain domain.com interface inside
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server 192.168.18.44 source inside
group-policy KMT internal
group-policy KMT attributes
dns-server value 192.168.18.44
vpn-tunnel-protocol l2tp-ipsec
split-tunnel-policy tunnelall
dynamic-access-policy-record DfltAccessPolicy
tunnel-group DefaultRAGroup general-attributes
address-pool VPN_POOL
authentication-server-group KMT_Radius
default-group-policy KMT
password-management
tunnel-group DefaultRAGroup ipsec-attributes
ikev1 pre-shared-key xxxxxxx
tunnel-group DefaultRAGroup ppp-attributes
authentication ms-chap-v2
tunnel-group 202.x.x.x type ipsec-l2l
tunnel-group 202.x.x.x ipsec-attributes
ikev1 pre-shared-key xxxxxxxxx
!
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
no tcp-inspection
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
inspect ip-options
inspect icmp
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
03-02-2020 09:50 PM
03-02-2020 10:06 PM
Hi Marvin, thanks for your reply, i tried but got no luck. still can access inside network only.
03-02-2020 10:28 PM
I found what I missed !!!!!
same-security-traffic permit intra-interface
as traffic is going to come in through the outside interface, turn around, and go back out of the same interface we need to allow that
03-03-2020 12:37 AM
Good catch! Thanks for letting us know the resolution.
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