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

radius anyconnect authentication

p3tter123
Level 1
Level 1

Hi, im struggeling to get the RADIUS working on the Anyconnect VPN, i have it working on Telnet (from inside and outside), and it also succeeds every time when i test the RADIUS login from the console. 

ASA(config)# sh run
: Saved
:
ASA Version 9.0(1)
!
hostname ASA
enable password kZuoK8w2adwKS2rx encrypted
passwd kZuoK8w2adwKS2rx encrypted
names
ip local pool vpn 10.10.10.10-10.10.10.25 mask 255.255.255.0
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
switchport trunk allowed vlan 10
switchport mode trunk
!
interface Ethernet0/2
switchport access vlan 2
!
interface Ethernet0/3
shutdown
!
interface Ethernet0/4
shutdown
!
interface Ethernet0/5
shutdown
!
interface Ethernet0/6
switchport access vlan 10
!
interface Ethernet0/7
shutdown
!
interface Vlan2
nameif outside
security-level 0
ip address 172.16.20.2 255.255.255.0
!
interface Vlan10
nameif inside
security-level 100
ip address 192.168.8.1 255.255.255.0
!
ftp mode passive
dns domain-lookup outside
dns domain-lookup inside
dns server-group DefaultDNS
name-server 8.8.8.8
name-server 172.16.20.1
same-security-traffic permit intra-interface
object network guest
subnet 192.168.127.0 255.255.255.248
object network locallan
subnet 192.168.8.0 255.255.255.0
object network obj_any
subnet 0.0.0.0 0.0.0.0

object-group network VPNPOOL
network-object 10.10.10.0 255.255.255.0
access-list splitvpn extended permit ip 10.1.10.0 255.255.255.0 10.10.10.0 255.255.255.0
access-list splitvpn extended permit ip 192.168.8.0 255.255.255.0 10.10.10.0 255.255.255.0
access-list splitvpn extended permit ip 10.10.10.0 255.255.255.0 any
access-list test standard permit host 172.16.20.3
access-list OUTSIDE extended permit ip host 172.16.20.3 192.168.8.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
no arp permit-nonconnected
nat (outside,inside) source static VPNPOOL VPNPOOL
nat (outside,outside) source dynamic VPNPOOL interface
nat (inside,outside) source dynamic locallan interface
!
object network obj_any
nat (inside,outside) dynamic interface
access-group OUTSIDE in interface outside
route outside 0.0.0.0 0.0.0.0 172.16.20.1 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
aaa-server pfsense protocol radius
aaa-server pfsense (outside) host 172.16.20.3
key *****
authentication-port 1812
accounting-port 1813
aaa authentication telnet console pfsense
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec security-association pmtu-aging infinite
crypto ca trustpool policy
telnet 192.168.8.0 255.255.255.0 inside
telnet 10.10.10.0 255.255.255.0 inside
telnet timeout 1440
ssh timeout 5
console timeout 0
management-access outside

dhcpd address 192.168.8.50-192.168.8.150 inside
dhcpd dns 4.2.2.2 8.8.8.8 interface inside
dhcpd enable inside
!
threat-detection basic-threat
threat-detection statistics access-list
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
webvpn
enable outside
anyconnect-essentials
anyconnect image disk0:/anyconnect-win-2.5.2014-k9.pkg 1
anyconnect image disk0:/anyconnect-macosx-i386-2.5.2014-k9.pkg 2
anyconnect image disk0:/anyconnect-linux-2.5.2014-k9.pkg 3
anyconnect enable
group-policy DfltGrpPolicy attributes
dns-server value 8.8.8.8 172.16.20.1
vpn-idle-timeout none
vpn-tunnel-protocol ikev1 l2tp-ipsec ssl-client ssl-clientless
address-pools value vpn
group-policy gp_anyconnect internal
group-policy gp_anyconnect attributes
dns-server value 4.2.2.2 8.8.8.8
vpn-tunnel-protocol ikev2 ssl-client
split-tunnel-policy tunnelall
split-tunnel-network-list value splitvpn
webvpn
anyconnect ask none default anyconnect
username petter password YeFyQCoHOJ1lqtZo encrypted privilege 15
tunnel-group tg_vpn type remote-access
tunnel-group tg_vpn general-attributes
address-pool vpn
authentication-server-group pfsense
default-group-policy gp_anyconnect
tunnel-group tg_vpn webvpn-attributes
group-alias SSLVPN enable
group-alias tg_vpn 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
password encryption aes
Cryptochecksum:38df9b171e634fc18f41bdaf3d13a2a1
: end

1 Reply 1

Marvin Rhoads
Hall of Fame
Hall of Fame

Try adding the following in config mode:

tunnel-group tg_vpn general-attributes
   authorization-server-group pfsense