cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
516
Views
0
Helpful
1
Replies

ASA 5505, version 9.2.4-17, L2TP VPN works, but cannot ssh to inside hosts.

RvdKraats
Level 1
Level 1

Hi All,

Although I'm a noob when it comes to configuring ASA's, I managed to setup my 5505. Remote L2TP VPN is working fine and I can access Internet via the VPN tunnel, but from the VPN client I can't ssh to, or ping inside hosts or the management interface of the ASA.

Can someone tell me where it goes wrong? I feel it has something to do with the NAT statements, but I'm not sure.

My config:

=============================================================

: Saved
:
: Serial Number: BLABLABLA
: Hardware: ASA5505, 512 MB RAM, CPU Geode 500 MHz
:
ASA Version 9.2(4)17
!
hostname ASA5505
enable password BLABLABLA encrypted
xlate per-session deny tcp any4 any4
xlate per-session deny tcp any4 any6
xlate per-session deny tcp any6 any4
xlate per-session deny tcp any6 any6
xlate per-session deny udp any4 any4 eq domain
xlate per-session deny udp any4 any6 eq domain
xlate per-session deny udp any6 any4 eq domain
xlate per-session deny udp any6 any6 eq domain
passwd BLABLABLA encrypted
names
ip local pool vpn_address_pool 192.168.2.1-192.168.2.5
!
interface Ethernet0/0
description Internet_trunk_port
switchport trunk allowed vlan 4,6
switchport mode trunk
!
interface Ethernet0/1
!
interface Ethernet0/2
description Access_Point_port
switchport access vlan 5
!
interface Ethernet0/3
description Upstairs_network_port
switchport access vlan 5
!
interface Ethernet0/4
description Livingroom_network_port
switchport access vlan 5
!
interface Ethernet0/5
description Digital_TV_port
switchport access vlan 4
!
interface Ethernet0/6
!
interface Ethernet0/7
!
interface Vlan1
nameif management
security-level 0
no ip address
!
interface Vlan4
nameif Digital_TV_VLAN
security-level 0
no ip address
!
interface Vlan5
nameif Network_VLAN
security-level 100
ip address 192.168.0.1 255.255.255.0
!
interface Vlan6
nameif Internet_VLAN
security-level 0
pppoe client vpdn group vpdn_group
ip address pppoe setroute
!
boot system disk0:/asa924-17-k8.bin
ftp mode passive
dns domain-lookup Internet_VLAN
dns server-group Local_DNS
name-server BLABLABLA
name-server BLABLABLA
name-server BLABLABLA
dns-group Local_DNS
same-security-traffic permit intra-interface
object network Subnet_0.0
subnet 192.168.0.0 255.255.255.0
object network Internet_DNS
host 194.109.104.104
object network Subnet_2.0
subnet 192.168.2.0 255.255.255.0
pager lines 24
mtu management 1500
mtu Digital_TV_VLAN 1500
mtu Network_VLAN 1500
mtu Internet_VLAN 1492
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any Network_VLAN
icmp permit any Internet_VLAN
asdm image disk0:/asdm-762-150.bin
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
!
object network Subnet_0.0
nat (Network_VLAN,Internet_VLAN) dynamic interface
object network Internet_DNS
nat (Internet_VLAN,Network_VLAN) static interface service udp domain domain
object network Subnet_2.0
nat (Internet_VLAN,Internet_VLAN) dynamic interface
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 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
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
http server enable
http 192.168.0.0 255.255.255.0 Network_VLAN
no snmp-server location
no snmp-server contact
crypto ipsec ikev1 transform-set vpn_transform_set esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set vpn_transform_set mode transport
crypto ipsec security-association pmtu-aging infinite
crypto dynamic-map vpn_dynamic_crypto_map 10000 set ikev1 transform-set vpn_transform_set
crypto map vpn_crypto_map 10000 ipsec-isakmp dynamic vpn_dynamic_crypto_map
crypto map vpn_crypto_map interface Internet_VLAN
crypto ca trustpool policy
crypto ikev1 enable Internet_VLAN
crypto ikev1 policy 2000
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh stricthostkeycheck
ssh 192.168.0.0 255.255.255.0 Network_VLAN
ssh 0.0.0.0 0.0.0.0 Internet_VLAN
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0
vpdn group vpdn_group request dialout pppoe
vpdn group vpdn_group localname BLABLABLA
vpdn group vpdn_group ppp authentication pap
vpdn username BLABLABLA password *****
!
dhcpd dns 192.168.0.1
dhcpd domain home.nl
dhcpd option 3 ip 192.168.0.1
!
dhcpd address 192.168.0.11-192.168.0.20 Network_VLAN
dhcpd enable Network_VLAN
!
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
group-policy vpn_group_policy internal
group-policy vpn_group_policy attributes
dns-server value BLABLABLA BLABLABLA
vpn-tunnel-protocol l2tp-ipsec
default-domain value home.nl
username BLABLABLA password BLABLABLA encrypted privilege 15
username BLABLABLA password BLABLABLA nt-encrypted
tunnel-group DefaultRAGroup general-attributes
address-pool vpn_address_pool
default-group-policy vpn_group_policy
tunnel-group DefaultRAGroup ipsec-attributes
ikev1 pre-shared-key *****
tunnel-group DefaultRAGroup ppp-attributes
authentication ms-chap-v2
!
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 ip-options
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
inspect icmp
inspect icmp error
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email callhome@cisco.com
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:22b92271f3f3ed1521299dc3ccc73a78
: end

========================================================

1 Reply 1

RvdKraats
Level 1
Level 1

Found it! I've added the following to enable the VPN clients to access my internal network:

nat (Internet_VLAN,Network_VLAN) source static Subnet_2.0 Subnet_2.0