cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1165
Views
0
Helpful
12
Replies

ASA 5505 VPN

rvenkatesh7
Level 1
Level 1

Hi,

i am trying to configure the VPN on ASA 5505, when i am trying to reach next hop it states no host to route.

in sh route there is no address. can anyone please help me in this.

ASA Version 9.1(6)10
!
hostname in-ka-blr-svr-fw-03-5505
domain-name corp.coupons.com
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0/0
 switchport access vlan 79
 shutdown
!
interface Ethernet0/1
 switchport access vlan 79
 shutdown
!
interface Ethernet0/2
 switchport access vlan 255
 shutdown
!
interface Ethernet0/3
<--- More --->
              
 switchport access vlan 255
 shutdown
!
interface Ethernet0/4
 shutdown
!
interface Ethernet0/5
 shutdown
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
interface Vlan1
 no nameif
 no security-level
 no ip address
!
interface Vlan20
 nameif SSL-VPN
 security-level 100
 ip address 10.28.20.1 255.255.255.0
<--- More --->
              
!
interface Vlan79
 nameif INSIDE
 security-level 100
 ip address 10.28.79.5 255.255.255.0
!
interface Vlan255
 nameif OUTSIDE
 security-level 0
 ip address 10.28.255.5 255.255.255.0
!
ftp mode passive
dns domain-lookup INSIDE
dns domain-lookup SSL-VPN
dns domain-lookup OUTSIDE
dns server-group CouponsDNS
 name-server 10.28.10.10
 name-server 10.20.10.10
 name-server 10.30.15.19
 domain-name corp.coupons.com
dns server-group DefaultDNS
 name-server 10.30.15.19
 name-server 10.40.15.19
 name-server 10.28.10.10
<--- More --->
              
 domain-name corp.coupons.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network SSL-VPN
 subnet 10.28.20.0 255.255.255.0
object-group icmp-type svc_ICMP_types_allowed
 description Security - ICMP types allowed in our network
 icmp-object echo
 icmp-object echo-reply
 icmp-object time-exceeded
 icmp-object unreachable
object-group network Corp
access-list OUTSIDE.in extended permit ip any4 any4
access-list OUTSIDE.in extended permit icmp any4 any4
access-list INSIDE.in extended permit ip any4 any4
access-list INSIDE.in extended permit icmp any4 any4
pager lines 24
logging enable
logging timestamp
logging standby
logging buffer-size 1048576
logging buffered debugging
logging asdm informational
logging facility 23
<--- More --->
              
logging host INSIDE 10.28.10.8
mtu INSIDE 1500
mtu SSL-VPN 1500
mtu OUTSIDE 1500
ip audit name our_audit_outside_attack attack action alarm drop
ip audit name our_audit_outside_info info action alarm
ip audit name our_audit_inside_attack attack action alarm drop reset
ip audit name our_audit_inside_info info action alarm
ip audit name our_audit_dmz_attack attack action alarm drop reset
ip audit name our_audit_dmz_info info action alarm
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any INSIDE
icmp permit any SSL-VPN
icmp permit any OUTSIDE
asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (INSIDE,OUTSIDE) source static any any destination static SSL-VPN SSL-VPN no-proxy-arp route-lookup
nat (OUTSIDE,OUTSIDE) source static SSL-VPN SSL-VPN destination static SSL-VPN SSL-VPN no-proxy-arp route-lookup
!
object network SSL-VPN
 nat (OUTSIDE,OUTSIDE) dynamic interface
access-group INSIDE.in in interface INSIDE
<--- More --->
              
access-group OUTSIDE.in in interface OUTSIDE
!
router ospf 2
 router-id 10.28.79.5
 network 10.28.20.0 255.255.255.0 area 28
 network 10.28.79.0 255.255.255.0 area 28
 log-adj-changes
!
route OUTSIDE 0.0.0.0 0.0.0.0 10.28.255.2 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 SSL-Client-windows
 webvpn
  svc ask none default svc
  always-on-vpn profile-setting
dynamic-access-policy-record SSL-Client-MAC
 priority 1
dynamic-access-policy-record DfltAccessPolicy
<--- More --->
              
 user-message "Your Anti Virus/Antispyware is out of date or not installed on your system.  Please contact the helpdesk for assistance."
 action terminate
 webvpn
  svc ask none default svc
  always-on-vpn profile-setting
dynamic-access-policy-record Clientless-portal
 priority 2
user-identity default-domain LOCAL
http server enable
http 0.0.0.0 0.0.0.0 INSIDE
http redirect SSL-VPN 80
http redirect OUTSIDE 80
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
sysopt connection tcpmss 1387
sysopt connection preserve-vpn-flows
auth-prompt prompt WARNING: This system is for the use of authorized users only. Clients using the Coupons VPN without, or in excess of authorization, are subject to having all their activity on
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpoint _SmartCallHome_ServerCA
 no validation-usage
 crl configure
crypto ca trustpool policy
crypto ca certificate chain _SmartCallHome_ServerCA

  quit
telnet timeout 5
ssh stricthostkeycheck
ssh 10.30.0.0 255.255.0.0 INSIDE
ssh 10.20.0.0 255.255.0.0 INSIDE
ssh 10.22.0.0 255.255.0.0 INSIDE
ssh 10.40.0.0 255.255.0.0 INSIDE
ssh 10.28.0.0 255.255.0.0 INSIDE
ssh timeout 60
ssh version 2
ssh key-exchange group dh-group1-sha1
console timeout 0

threat-detection basic-threat
threat-detection statistics port
threat-detection statistics protocol
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
username raghu password HSY4xsp42nsdtJP/ encrypted privilege 15
!
class-map class_sip_tcp
 match port tcp eq sip
class-map inspection_default
<--- More --->
              
 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
<--- More --->
              
policy-map type inspect dns migrated_dns_map_1
 parameters
  message-length maximum 512
!
service-policy global_policy global
prompt hostname context
call-home reporting anonymous

12 Replies 12

Your Switchports are all shutdown. You have to enable them first.

Hi Karsten,

thanks for the info i have enabled the switchports, now able to ping OUTSIDE

but not able to ping INSIDE and SSH aswell

From where do you ping? The ASA only allows to ping the next interface. When you are on an outside-system, you only can ping the outside interface, but not inside.

For accessing the ASA by SSH you not only need to allow the access from specified networks (that are the ssh-commands), you also need to generate a public/private key and specify how to authenticate ssh-users:

crypto key generate rsa mod 2048
aaa authentication ssh console LOCAL

it is throwing an error ERROR: aaa-server group lOCAL does not exist

OUTSIDE IP have mapped with Public IP at other firewall end,

i am trying to ping from my internal network 10.28.102.x series to INSIDE IP 10.28.79.5 but nt able to ping, but OUTSIDE IP able to ping 10.28.255.5..

not able to SSH and not able to do ASDM also.

Hi Richard,

thanks for the info, now everything is fine. able to ping and do ssh also.

asdm is also working fine.

need to understand few things .. i am trying to connect anyconnect vpn for the created ssl-vpn vlan, but that vlan is stating down.

how to bring it up ?

I am glad that ping, and SSH, and ASDM are working.

It is not clear what you intend to do with AnyConnect. As I look at the configuration that you posted I see very little in it about AnyConnect. Can you clarify this?

As for vlan 20 SSL-VPN I believe that the issue is that you have created the vlan but have not assigned any ports to it. I believe that if you assign ports to it and if something is connected to at least one port in the vlan then the vlan will come to the up state.

HTH

Rick

HTH

Rick

Hi Richard,

Please find the attached config file with changes.

trying to connected to inside network using anyconnect VPN from outside.

I have looked through the config that you posted. I do not see what relationship you intend between AnyConnect and vlan 20 SSL-VPN. Also I do not see in the configuration that you have created a pool of addresses for AnyConnect to use.

HTH

Rick

HTH

Rick

Vlan 20 is for ip pool for connecting the users. pool has been created in DHCP server.

So what happens when you attempt to connect using AnyConnect?

HTH

Rick

HTH

Rick

The problem with aaa server group is easy to fix. You simply got the first character wrong. It should be LOCAL.

As far as the problem using ASDM we need to check whether it is correctly configured. As a start would you post the output of the command show run | include asdm

Also for the SSH issue would you post the output of the command show run | include ssh

HTH

Rick

HTH

Rick