cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1701
Views
0
Helpful
11
Replies

l2tp vpn

AliMahm00di
Level 1
Level 1

Hi

We have an asa 5505 in our office and clients inside the office must be able to connect to different VPN servers of our customers with different protocols. clients inside and server outside with public IP

We have issue with servers that uses l2tp and it seems asa won't allow this protocol ...

I will appreciate any help for this issue.

Sincerely

11 Replies 11

@AliMahm00di please provide the configuration of your ASA

Thanks for your reply.

 

: Saved

ASA Version 9.1(7)32
!
hostname office
enable password xxxxxx encrypted
names
ip local pool VPN_Connection 172.xx.xx.1-172.xx.xx.6 mask 255.255.255.0
!
interface Ethernet0/0
shutdown
!
interface Ethernet0/1
switchport access vlan 10
!
interface Ethernet0/2
switchport access vlan 20
!
interface Ethernet0/3
switchport access vlan 100
!
interface Ethernet0/4
switchport access vlan 999
!
interface Ethernet0/5
switchport access vlan 90
!
interface Ethernet0/6
shutdown
!
interface Ethernet0/7
shutdown
!
interface Vlan10
nameif Gateway
security-level 0
ip address 172.16.13.249 255.255.255.248
!
interface Vlan20
nameif wifi
security-level 20
ip address 192.168.200.225 255.255.255.224
!
interface Vlan90
nameif office
security-level 90
ip address 192.168.199.225 255.255.255.224
!
interface Vlan100
nameif managment
security-level 100
ip address 192.168.0.1 255.255.255.252
!
interface Vlan999
nameif ITT
security-level 0
ip address 192.168.131.225 255.255.255.128
!
ftp mode passive

object network obj_any
subnet 0.0.0.0 0.0.0.0
object network Office
subnet 192.168.199.224 255.255.255.224
object network NETWORK_OBJ_192.168.8.0_24
subnet 192.168.5.0 255.255.255.0
object network NETWORK_OBJ_10.199.199.224_27
subnet 192.168.199.224 255.255.255.224
object network WI-FI
subnet 192.168.200.224 255.255.255.224
object network NETWORK_OBJ_172.22.22.0_29
subnet 192.22.22.0 255.255.255.248
object network DC_VPN_172.16.3.0
subnet 192.16.3.0 255.255.255.0
object network DMZ
subnet 192.168.4.0 255.255.255.0
object-group network DM_INLINE_NETWORK_1
network-object object DMZ
network-object object NETWORK_OBJ_192.168.5.0_24
network-object object DC_VPN_192.16.3.0
object-group network DM_INLINE_NETWORK_2
network-object 192.168.5.0 255.255.255.0
network-object object DC_VPN_192.16.3.0
network-object object DMZ
object-group network DM_INLINE_NETWORK_3
network-object host 192.168.199.250
network-object host 192.168.199.226
access-list admin extended permit ip any object NETWORK_OBJ_192.168.199.224_27
access-list admin extended permit icmp any object NETWORK_OBJ_192.168.199.224_27
access-list admin extended permit tcp any object NETWORK_OBJ_10.199.199.224_27
access-list ISTT_cryptomap extended permit ip 192.168.199.224 255.255.255.224 object-group DM_INLINE_NETWORK_2
access-list Net standard permit 192.168.199.224 255.255.255.224
access-list RemoteAccess standard deny any4
access-list RA extended permit ip object NETWORK_OBJ_192.22.22.0_29 object-group DM_INLINE_NETWORK_3
pager lines 24
logging asdm informational
mtu Gateway 1500
mtu wifi 1500
mtu office 1500
mtu managment 1500
mtu ITT 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (wifi,Gateway) source dynamic WI-FI interface
nat (office,ITT) source static NETWORK_OBJ_192.168.199.224_27 NETWORK_OBJ_192.168.199.224_27 destination static DM_INLINE_NETWORK_1 DM_INLINE_NETWORK_1 no-proxy-arp route-lookup
nat (office,ITT) source dynamic Office interface
nat (office,Gateway) source static NETWORK_OBJ_192.168.199.224_27 NETWORK_OBJ_192.168.199.224_27 destination static NETWORK_OBJ_192.22.22.0_29 NETWORK_OBJ_192.22.22.0_29 no-proxy-arp route-lookup
nat (wifi,ITT) source dynamic WI-FI interface
route Gateway 0.0.0.0 0.0.0.0 172.168.113.250 1
route ITT 34.192.255.201 255.255.255.255 192.21.11.129 1
route ITT 192.16.3.0 255.255.255.0 192.21.11.129 1
route ITT 192.168.0.0 255.255.0.0 192.21.11.129 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 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 10.0.0.0 255.255.255.252 managment
http 192.168.199.224 255.255.255.224 office
no snmp-server location
no snmp-server contact
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA-TRANS mode transport
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5-TRANS mode transport
crypto ipsec ikev2 ipsec-proposal DES
protocol esp encryption des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal 3DES
protocol esp encryption 3des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES
protocol esp encryption aes
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES192
protocol esp encryption aes-192
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES256
protocol esp encryption aes-256
protocol esp integrity sha-1 md5
crypto ipsec security-association pmtu-aging infinite
crypto map ITT_map 1 match address ITT_cryptomap
crypto map ITT_map 1 set peer 34.192.255.201
crypto map ITT_map 1 set ikev1 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 ITT_map 1 set ikev2 ipsec-proposal DES 3DES AES AES192 AES256
crypto map ITT_map interface ITT
crypto ca trustpoint ASDM_TrustPoint0
enrollment self
fqdn office.xx
subject-name CN=office.xx
serial-number
crl configure
crypto ca trustpool policy
crypto ca certificate chain ASDM_TrustPoint0
certificate eb6d665e
30820310 308201f8 a0030201 020204eb 6d665e30 0d06092a 864886f7 0d010105
0500304a 31163014 06035504 03130d6f 66666963 652e706c 6d2e6972 31303012
06035504 05130b4a 4d583137 33313430 4358301a 06092a86 4886f70d 01090216
0d6f6666 6963652e 706c6d2e 6972301e 170d3230 30333039 31363438 32305a17
0d333030 33303731 36343832 305a304a 31163014 06035504 03130d6f 66666963
652e706c 6d2e6972 31303012 06035504 05130b4a 4d583137 33313430 4358301a
06092a86 4886f70d 01090216 0d6f6666 6963652e 706c6d2e 69723082 0122300d
06092a86 4886f70d 01010105 00038201 0f003082 010a0282 010100a4 918012eb
361d2f46 c3a3bbd9 45d321c1 87f9c8f9 0a8f9588 1ae34ab7 e5b75165 cc6fd09e
e3df56c3 c4a1a57d ab0327c3 adbd9790 3094ae7e 2d3d1a86 80132cb4 54eb7876
e69d44c6 77b2c656 c5788e17 412549d7 3b225fcc c0567741 6aa9d5ce 2bd4b257
86b943a3 bef85cb0 f76c6d85 925d7744 ba4412da ea19f658 dffd5594 0606e46e
c12a150f bc256161 b24ab29b a97b8e59 bc8dd7cf 862f2ed4 802d3ab2 cdf479a6
e9ae19b9 7e8241b9 81cb97c3 b575c64a 108869f4 bb91d3a0 4b372da9 c2b6a2db
9ce5039f 49829056 b2b9867a e2f53888 4dbde331 0c78f1b8 82141507 b9963010
da00f031 0330166f 304381ea 8b86e98a 564c381d 26d88e39 f5a52302 03010001
300d0609 2a864886 f70d0101 05050003 82010100 84b523b3 b3e49b23 bddd99a6
6dc45819 41d99d61 cfe86888 5ed5efc8 4aefb467 4e0347da ba021776 ec82e13c
d83aa7a7 6ecb9b93 742345f5 581b7d3a dcfc6c5e 44d68bc3 c070399b 67306122
a5b5a1fa 0eab74c5 4a69ac6b a79a80ec cc5b662f 0f7a8d0d 93f6b129 584bc7f1
0b82c82a 71eb7679 e462ccf0 4a89a2d0 1b246df6 b9e886ed 0c11cde2 a089e2e2
f317ec8e fa4a6e8f 165cb2e3 57f44a27 9977894a 163edb51 02671548 b53059c4
8ab7d523 2f0b7837 3dcd22ea 0e6f6dc0 4905255d 8aa071e0 73084688 46907de6
87e8d978 d378d391 043ed388 3d5d263e f1073947 d595453c 24a240a9 18fd0562
e0fe8828 6cf23f67 f3946b3b 4fbc295e 3be64128
quit
crypto ikev2 policy 1
encryption aes-256
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 10
encryption aes-192
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 20
encryption aes
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 30
encryption 3des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 40
encryption des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 enable Gateway
crypto ikev2 enable ITT
crypto ikev1 enable Gateway
crypto ikev1 enable ITT
crypto ikev1 policy 10
authentication pre-share
encryption aes-256
hash sha
group 2
lifetime 86400
crypto ikev1 policy 20
authentication rsa-sig
encryption aes-256
hash sha
group 2
lifetime 86400
crypto ikev1 policy 40
authentication pre-share
encryption aes-192
hash sha
group 2
lifetime 86400
crypto ikev1 policy 50
authentication rsa-sig
encryption aes-192
hash sha
group 2
lifetime 86400
crypto ikev1 policy 70
authentication pre-share
encryption aes
hash sha
group 2
lifetime 86400
crypto ikev1 policy 80
authentication rsa-sig
encryption aes
hash sha
group 2
lifetime 86400
crypto ikev1 policy 100
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 110
authentication rsa-sig
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 130
authentication pre-share
encryption des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 140
authentication rsa-sig
encryption des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh stricthostkeycheck
ssh 192.168.199.224 255.255.255.224 office
ssh 192.22.22.0 255.255.255.248 managment
ssh timeout 5
ssh key-exchange group dh-group1-sha1
console timeout 0

dhcprelay server 192.168.8.8 ITT
dhcprelay enable office
dhcprelay timeout 60
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ssl trust-point ASDM_TrustPoint0 office
ssl trust-point ASDM_TrustPoint0 managment
ssl trust-point ASDM_TrustPoint0 ITT
ssl trust-point ASDM_TrustPoint0 Gateway
ssl trust-point ASDM_TrustPoint0 wifi
webvpn
enable Gateway
anyconnect-essentials
anyconnect image disk0:/anyconnect-linux64-4.7.04056-webdeploy-k9.pkg 1
anyconnect image disk0:/anyconnect-macos-4.7.04056-webdeploy-k9.pkg 2
anyconnect image disk0:/anyconnect-win-4.7.04056-webdeploy-k9.pkg 3
anyconnect enable
keepout "Service out temporarily."
cache
disable
group-policy GroupPolicy_RemoteAccess internal
group-policy GroupPolicy_RemoteAccess attributes
wins-server none
dns-server value 192.168.5.8
vpn-filter value RemoteAccess
vpn-tunnel-protocol ssl-client
split-tunnel-policy tunnelspecified
split-tunnel-network-list value Net
default-domain value xx
address-pools value VPN_Connection
group-policy GroupPolicy_34.192.255.201 internal
group-policy GroupPolicy_34.192.255.201 attributes
vpn-tunnel-protocol ikev1 ikev2
username xx attributes
vpn-group-policy GroupPolicy_RemoteAccess
vpn-filter value RA
service-type remote-access
username xx attributes
vpn-group-policy GroupPolicy_RemoteAccess
vpn-filter value admin
service-type admin
username xx attributes
vpn-group-policy GroupPolicy_RemoteAccess
vpn-filter value RA
service-type remote-access
username xx attributes
vpn-group-policy GroupPolicy_RemoteAccess
vpn-filter value admin
tunnel-group 34.192.255.201 type ipsec-l2l
tunnel-group 34.192.255.201 general-attributes
default-group-policy GroupPolicy_34.192.255.201
tunnel-group 34.192.255.201 ipsec-attributes
ikev1 pre-shared-key sR4#dgVjJc6jsDkJHbd4789jlndslGJHGADJad389LN
ikev2 remote-authentication pre-shared-key sR4#dgVjJc6jsDkJHbd4789jlndslGJHGADJad389LN
ikev2 local-authentication pre-shared-key sR4#dgVjJc6jsDkJHbd4789jlndslGJHGADJad389LN
tunnel-group RemoteAccess type remote-access
tunnel-group RemoteAccess general-attributes
address-pool VPN_Connection
default-group-policy GroupPolicy_RemoteAccess
tunnel-group RemoteAccess webvpn-attributes
group-alias RemoteAccess enable
!
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 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
Cryptochecksum:efa0add1dca570ff8ea545835803e3aa
: end

 

balaji.bandi
Hall of Fame
Hall of Fame

need more information and IP address and ports, also post complete config, and failed logs if any to understand issue.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi

thanks for reply

It was the complete confing 

what else IP do you need?

try under ASA
inspect pptp.

Hi

Thanks for reply.

not worked.

Are you use L2TPoverIPsec if yes 

instead of inspect pptp use 

inspect ipsec pass through 

Ipsec pass through is inspected already ....

I donā€™t see it under default policy according to config you post?

I added both pptp and ipsec today ...

kpkkpkokokokoklklkl.png

I make this note, let do it step by step 

you make first step of IPSec-pass-thru

so we need allow port and config static NAT 1:1 (if the server have a unique public ip reachable from outside of ASA)