cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1482
Views
0
Helpful
10
Replies

WebVPN logout button within a displayed page

MaseBarnes
Level 1
Level 1

Hi,

I've enabled full customization on my ASA 5510 (8.0.4) and use a internal Website as the startpage for the WebVPN.

With the post-plugin I let the user authenticate against the internal site with the login credentials and all seems to work fine.

My problem is, the users only logout from the application inside and not from the WebVPN (don't ask me why?!).

Is there a way to implement a logout link within a page inside the WebVPN? Something like JS?

Thanks,

MB

10 Replies 10

ebreniz
Level 6
Level 6

Customizing the WebVPN Logout Page Following procedure may help you

Step 1 Enter WebVPN customization mode using the customization command from webvpn mode:

hostname(config)# webvpn

hostname(config-webvpn)# customization cisco

hostname(config-webvpn-custom)#

Step 2 Change the title of the Logout box using the logout-title command:

[no] logout-title {text | style} value

Step 3 Change the message of the Logout box using the logout-message command:

[no] logout-message {text | style} value

Thanks for your reply but I think you missed the point. I want, for example, recode OWA to let the user logout from OWA and WebVPN with one button inside the OWA application.

(It's an own app, not OWA) ;)

Thanks,

MB

tmarschner
Level 1
Level 1

Hi MaseBarnes,

When I try to enter a post:// URL to set the WebVPN homepage, ASDM tells me that only http and https are allowed. How did you set your start page to use a post url?

Thanks,

Tm

Via the (Default) Customization

MaseBarnes
Level 1
Level 1

I finally found a solution on this:

Let's say the link to your ASA is:

https://vpn.company.com

Then apply a content rewrite rule for "*webvpn_logout.html" and disable rewriting for it.

Now you can for example insert a link https://vpn.company.com/+webvpn+/webvpn_logout.html into you MS sharepoint intranet and logout from WebVPN without using the floating toolbar.

HTH somebody ...

MB

This does not seem to work with Firefox.  It is working in the IE browser but gives a 404 error in Firefox?  Any ideas why?

Works with all browsers for me, try to capture the websession und have a look into the packets from the server.

Thanks for the quick response.  Can you tell me if I have my no rewrite rule correct?  Here is what I have Resource Mask:

*webvpn_logout.html

There is nothing else in the resource mask it looks just as it is there. I see if I can take a look at the packets just wanted to make sure that is correct?

Yes ...

rewrite order 2 disable resource-mask *webvpn_logout.html name logout

Hello,

 

Please let me know from where to get this file Logout.html file and what needs to be changed ?

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: