cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2364
Views
5
Helpful
2
Replies

AnyConnect - within RDP session

gautamzone
Level 1
Level 1

Dear friends,

After reading the AnyConnect client 2.4 configuration guide at:

http://www.cisco.com/en/US/partner/docs/security/vpn_client/anyconnect/anyconnect24/administration/guide/anyconnectadmin24.html

I have some doubts for the VPN session within the RDP session.

What is the difference between localuser and remoteuser?

Does local user mean the user who has direct console access of the machine? Or is it something else

Does remote user imply to any user who has connected to the PC via RDP?

Regarding vpn session within RDP session, does it mean RDP'ing to a machine that has the AnyConnect client installed?

Can anyone please clarify on this.

Thanks a lot

Gautam

1 Accepted Solution

Accepted Solutions

busterswt
Level 1
Level 1

LocalUser means someone "physically" logged into the server. RemoteUser would be someone logged in via RDP.

Prior to version 2.3.x of the AnyConnect client, it was impossible to RDP into a machine and then initiate an AnyConnect client VPN session from the machine you were RDP'd in to. The AnyConnect client would straight up tell you that it was not permitted.

You can modify the AnyConnectProfile.tmpl file on the machine to remove this limitation, however, I was not able to get it to work that way. I had to actually upload the new template to the ASA and setup the user policy or group policy to push down the template upon attempting to connect with AnyConnect.

You could try the following:

Upload the profile to the ASA using tftp or through ASDM, and add the following to the webvpn configuration:

svc profiles MY-PROFILE-NAME disk0:/AnyConnectProfile.tmpl

You should be able to push it down through the group policy, but I chose to do it on a per-user basis (as I only have one test user):

username testuser attributes
webvpn
  svc profiles value MY-PROFILE-NAME

Example using group-policy:

group-policy my-vpn-group attributes
  webvpn
   svc profiles value MY-PROFILE-NAME

Hopefully that leads you in the right direction.

James

View solution in original post

2 Replies 2

busterswt
Level 1
Level 1

LocalUser means someone "physically" logged into the server. RemoteUser would be someone logged in via RDP.

Prior to version 2.3.x of the AnyConnect client, it was impossible to RDP into a machine and then initiate an AnyConnect client VPN session from the machine you were RDP'd in to. The AnyConnect client would straight up tell you that it was not permitted.

You can modify the AnyConnectProfile.tmpl file on the machine to remove this limitation, however, I was not able to get it to work that way. I had to actually upload the new template to the ASA and setup the user policy or group policy to push down the template upon attempting to connect with AnyConnect.

You could try the following:

Upload the profile to the ASA using tftp or through ASDM, and add the following to the webvpn configuration:

svc profiles MY-PROFILE-NAME disk0:/AnyConnectProfile.tmpl

You should be able to push it down through the group policy, but I chose to do it on a per-user basis (as I only have one test user):

username testuser attributes
webvpn
  svc profiles value MY-PROFILE-NAME

Example using group-policy:

group-policy my-vpn-group attributes
  webvpn
   svc profiles value MY-PROFILE-NAME

Hopefully that leads you in the right direction.

James

Thank you so much James for the wonderful response.

Thanks a lot

Gautam

Review Cisco Networking products for a $25 gift card