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

Cisco asa 5505 and guest wireless

Chris Whiteley
Level 1
Level 1

Hey All,

I was wondering if there way a way to make it so that one of your ethernet interfaces that is inside the ASA, could connect to the ssl vpn. It is a guest wireless interface that dhcp is being offered by the ASA and my cisco 3550's are all layer 2 on this vlan to keep it from being able to access the rest of the network. I was wondering if it is possible to make that happen so that my internal users can connect to the guest wireless and vpn in for their files?

12 Replies 12

Varinder Singh
Cisco Employee
Cisco Employee

Chris,

Youc an do that by enabling anyconnect on guest enterface and defining the connection profile for users to connect with split access list defining the networks you want the users to access on inside. Users can vpn to guest interface when they are connected on guest network.

Regards,

Varinder



P.S. Please mark this post as 'Answered' if you find the above information helpful so that it brings goodness to other community users

Regards, Varinder P.S. Please mark this post as 'Answered' if you find the above information helpful so that it brings goodness to other community users

So i already have the anyconnect enabled on the interface and there is already a connection profile, but for whatever reason I can't access the vpn website. It just times out. Is there some sort of misconfiguration that needs to be fixed?

Hello Chris,

can you please show us the configuration that you have done.

: Saved
:
ASA Version 9.0(2)
!
hostname mydomain-firewall-1
domain-name mydomain.local
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
names
name 10.013.1 mydomain-Inside description mydomain Inside
name 10.0.0.0 mydomain_New_IP description mydomain_New
name 10.0.0.0 mydomain-Old description Inside_Old
name XXX.XXX.X.XX Provider description Provider_Wireless
name 10.0.13.2 Cisco_ASA_5505 description Cisco ASA 5505
name 192.168.204.0 Outside_Wireless description Outside Wireless for Guests
ip local pool mydomain-Employee-Pool 192.168.208.1-192.168.208.254 mask 255.255.255.0
ip local pool mydomain-Vendor-Pool 192.168.209.1-192.168.209.254 mask 255.255.255.0
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
switchport access vlan 3
!
interface Ethernet0/3
shutdown
!
interface Ethernet0/4
shutdown
!
interface Ethernet0/5
shutdown
!
interface Ethernet0/6
shutdown
!
interface Ethernet0/7
shutdown
!
interface Vlan1
nameif inside
security-level 100
ip address Cisco_ASA_5505 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address Provider 255.255.255.252
!
interface Vlan3
no forward interface Vlan1
nameif Guest_Wireless
security-level 10
ip address 192.168.204.1 255.255.255.0
!
boot system disk0:/asa902-k8.bin
ftp mode passive
clock timezone PST -8
clock summer-time PDT recurring
dns domain-lookup inside
dns server-group DefaultDNS
name-server 10.0.3.21
domain-name mydomain.local
object network obj_any
subnet 0.0.0.0 0.0.0.0
object network mydomain-Employee
subnet 192.168.208.0 255.255.255.0
description mydomain-Employee
object network Guest_Network
subnet 192.168.204.0 255.255.255.0
description Guest Wireless
object-group network Inside-all
description All Networks
network-object mydomain-Old 255.255.254.0
network-object mydomain_New_IP 255.255.192.0
network-object host mydomain-Inside
access-list inside_access_in extended permit ip any4 any4
access-list split-tunnel remark New Address Space
access-list split-tunnel standard permit 10.0.0.0 255.255.192.0
access-list split-tunnel remark Old Address Space
access-list split-tunnel standard permit 192.168.0.0 255.255.254.0
pager lines 24
logging enable
logging buffered errors
logging asdm informational
mtu inside 1500
mtu outside 1500
mtu Guest_Wireless 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-712.bin
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (inside,outside) source static Inside-all Inside-all destination static mydomain-Employee mydomain-Employee no-proxy-arp route-lookup
nat (Guest_Wireless,outside) source dynamic obj_any interface
!
object network obj_any
nat (inside,outside) dynamic interface
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 XXX.XXX.X.XX 1
route inside mydomain-Old 255.255.254.0 mydomain-Inside 1
route inside mydomain_New_IP 255.255.192.0 mydomain-Inside 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
action terminate
dynamic-access-policy-record "Network Access Policy Allow VPN"
description "Must have the Network Access Policy Enabled to get VPN access"
aaa-server LDAP_Group protocol ldap
aaa-server LDAP_Group (inside) host 10.0.3.21
ldap-base-dn ou=mydomain,dc=mydomain,dc=local
ldap-group-base-dn ou=mydomain,dc=mydomain,dc=local
ldap-scope subtree
ldap-naming-attribute sAMAccountName
ldap-login-password *****
ldap-login-dn cn=Cisco VPN,ou=Special User Accounts,ou=mydomain,dc=mydomain,dc=local
server-type microsoft
user-identity default-domain LOCAL
aaa authentication ssh console LOCAL
http server enable
http mydomain_New_IP 255.255.192.0 inside
http redirect outside 80
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
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 dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto map Guest_Wireless_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map Guest_Wireless_map interface Guest_Wireless
crypto ca trustpoint LOCAL-CA-SERVER
keypair LOCAL-CA-SERVER
no validation-usage
no accept-subordinates
no id-cert-issuer
crl configure
crypto ca trustpoint VPN
enrollment terminal
fqdn vpn.mydomain.com
subject-name CN=vpn.mydomain.com
keypair vpn.mydomain.com
crl configure
crypto ca trustpoint ASDM_TrustPoint1
enrollment terminal
crl configure
crypto ca trustpool policy
crypto ca server
shutdown

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 outside client-services port 443
crypto ikev2 enable Guest_Wireless client-services port 443
crypto ikev2 remote-access trustpoint VPN
telnet timeout 5
ssh mydomain_New_IP 255.255.192.0 inside
ssh timeout 5
console timeout 0

dhcpd address 192.168.204.10-192.168.204.254 Guest_Wireless
dhcpd dns 8.8.8.8 8.8.4.4 interface Guest_Wireless
dhcpd lease 86400 interface Guest_Wireless
dhcpd domain mydomain interface Guest_Wireless
dhcpd enable Guest_Wireless
!
threat-detection basic-threat
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
dynamic-filter updater-client enable
dynamic-filter use-database
dynamic-filter enable
ssl encryption rc4-sha1 aes128-sha1 aes256-sha1 3des-sha1 rc4-md5 des-sha1
ssl trust-point VPN Guest_Wireless
ssl trust-point VPN outside
webvpn
enable outside
enable Guest_Wireless
anyconnect-essentials
anyconnect image disk0:/anyconnect-macosx-i386-3.1.03103-k9.pkg 3
anyconnect image disk0:/anyconnect-linux-2.4.1012-k9.pkg 4
anyconnect image disk0:/anyconnect-win-3.1.03103-k9.pkg 5
anyconnect profiles mydomain-employee disk0:/mydomain-employee.xml
anyconnect enable
tunnel-group-list enable
group-policy DfltGrpPolicy attributes
dns-server value 10.0.3.21
vpn-tunnel-protocol ikev1 ikev2 l2tp-ipsec ssl-client
split-tunnel-policy tunnelspecified
split-tunnel-network-list value split-tunnel
default-domain value mydomain.local
group-policy mydomain-Employee internal
group-policy mydomain-Employee attributes
wins-server none
dns-server value 10.0.3.21
vpn-tunnel-protocol ssl-client
default-domain value mydomain.local
webvpn
  anyconnect profiles value mydomain-employee type user
username mydomainadmin password njLcVW6cA/2R64RV encrypted privilege 15
tunnel-group mydomain-Employee type remote-access
tunnel-group mydomain-Employee general-attributes
address-pool mydomain-Employee-Pool
authentication-server-group LDAP_Group LOCAL
default-group-policy mydomain-Employee
tunnel-group mydomain-Employee webvpn-attributes
group-alias mydomain-Employee 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
!
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:1c85836b96ff6e0619e441f22e3a890a
: end
asdm image disk0:/asdm-712.bin
asdm location mydomain_New_IP 255.255.192.0 inside
asdm location mydomain-Inside 255.255.255.255 inside
asdm location mydomain-Old 255.255.254.0 inside
no asdm history enable

Hi Chris,

Make sure that port 443 is not blocked on the guest wireless

enable the logs on the ASA

check the logs and see if the ssl handshake is getting complted or not.

make sure that the IP on which you ae connecting is routable.

send the ouput of the following

show run webvpn

show run tunnel-group

show run group-policy

Hope this helps you

Thanks

Raj

login as: mydomainadmin

mydomainadmin@10.0.13.2's password:

Type help or '?' for a list of available commands.

mydomain-firewall-1# sh run webvpn

webvpn

enable outside

enable Guest_Wireless

anyconnect-essentials

anyconnect image disk0:/anyconnect-macosx-i386-3.1.03103-k9.pkg 3

anyconnect image disk0:/anyconnect-linux-2.4.1012-k9.pkg 4

anyconnect image disk0:/anyconnect-win-3.1.03103-k9.pkg 5

anyconnect profiles mydomain-employee disk0:/mydomain-employee.xml

anyconnect enable

tunnel-group-list enable

mydomain-firewall-1# sh run tunnel-group

tunnel-group mydomain-Employee type remote-access

tunnel-group mydomain-Employee general-attributes

address-pool mydomain-Employee-Pool

authentication-server-group LDAP_Group LOCAL

default-group-policy mydomain-Employee

tunnel-group mydomain-Employee webvpn-attributes

group-alias mydomain-Employee enable

mydomain-firewall-1# sh run group-policy

group-policy DfltGrpPolicy attributes

dns-server value 10.0.3.21

vpn-tunnel-protocol ikev1 ikev2 l2tp-ipsec ssl-client

split-tunnel-policy tunnelspecified

split-tunnel-network-list value split-tunnel

default-domain value mydomain.local

group-policy mydomain-Employee internal

group-policy mydomain-Employee attributes

wins-server none

dns-server value 10.0.3.21

vpn-tunnel-protocol ssl-client

default-domain value mydomain.local

webvpn

  anyconnect profiles value mydomain-employee type user

mydomain-firewall-1#

Hi Chris,

Are the users trying to connect from the guest netwok?

Are they directly connected to the guet network?

As i dont see any route specific to the guset wireless so  the directly connected users would be able to connect

It means any user whose ip adress is in the range of 192.168.204.0/24 can only connect to the guset wireless via ssl.

Thanks

Raj

I have the same issue as above Kumar. 1) It is not possible allow to anyconnect  inside interface  from Guest wifi .2 ) but I tried   to set up vpn for guest to guest interface and it works .

Do you know why it doesn't work to connect 1st way , from GuestWifi to Inside even I had ACls to allow ?  

Chris Whiteley
Level 1
Level 1

So the guest wireless is directly connected to that third leg on the firewall and I want them to be able to use the VPN to the inside network and when I try to connect to the vpn.mydomain.com just times out. I am at a loss. What am I missing?

Hi Chris,

When you try to ping vpn.mydomain.com what is the ip that it is resolving to?

Is it resolving to your guestwireless interface ip?

What's the IP of the host machine from where you are trying to connect to Anyconnect?

Please check the logs on the ASA.

I get the outside IP address of the Firewall and it says no response when I ping it. Should it be resolving to the inside IP address of the firewall?

Chris Whiteley
Level 1
Level 1

Anyone have any ideas on how to make this work?

Sent from Cisco Technical Support iPhone App

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: