cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13706
Views
14
Helpful
4
Replies

How to disable webvpn from FMC?

eeebbunee
Level 1
Level 1

Hello Experts,

 

Can you tell me how can I disable webvpn from FMC?

I found still 'webvpn enabled' from my firepower configuration after I deleted Remote Access VPN.

 

Can anyone tell me how to configure to 'no webvpn enable'?

 

1 Accepted Solution

Accepted Solutions

Udupi Krishna.
Cisco Employee
Cisco Employee

Webvpn is used by anyconnect and disabling it will stop clients from connecting to the firewall. If that's what you are intending to do, webvpn can be disabled via flex config.

1. Add a new flexconfig object with below parameters.

webvpn

portal-access-rule 1 deny any

2. If there's an existing flexconfig policy attached to the FTD, select this new user defined object into it.

3. Save and deploy the policy.

 

There's a enhancement request created to add the functionality to disable the webvpn via FMC/GUI - CSCvp81746

View solution in original post

4 Replies 4

Udupi Krishna.
Cisco Employee
Cisco Employee

Webvpn is used by anyconnect and disabling it will stop clients from connecting to the firewall. If that's what you are intending to do, webvpn can be disabled via flex config.

1. Add a new flexconfig object with below parameters.

webvpn

portal-access-rule 1 deny any

2. If there's an existing flexconfig policy attached to the FTD, select this new user defined object into it.

3. Save and deploy the policy.

 

There's a enhancement request created to add the functionality to disable the webvpn via FMC/GUI - CSCvp81746

AminRamadan
Level 1
Level 1

I got the following when i tried to shutdown portal login by using FlexConfig:

Lina messages
FMC >> no strong-encryption-disable
FMC >> no dp-tcp-proxy
FMC >> policy-map global_policy
FMC >> class class-default
FMC >> exit
FMC >> vpn-addr-assign local reuse-delay 0
FMC >> crypto isakmp nat-traversal
FMC >> webvpn
FMC >> portal-access-rule 1 deny any
fw-vpn >> error :
portal-access-rule 1 deny any
^
ERROR: % Invalid input detected at '^' marker.
Config Error -- portal-access-rule 1 deny any

 

Plus, I got the same result when I tried:

webvpn

keepout "NO SSL service available"

fw-vpn >> error :

keepout "NO SSL service available"

^

ERROR: % Invalid input detected at '^' marker.

 

Clientless SSL VPN is deprecated in all versions of FTD (and in ASA from 9.17 onwards). Thus, the command to set an access rule for the webvpn portal no longer exists. You can simply remove the FlexConfig object.

ejgreco
Level 1
Level 1

Found the solution in a LinkedIn post. Just tested this in our lab (FTD/FMC 7.4.2.1). FlexConfig is the right option, but the correct config is:

webvpn
keepout "<insert-text-for-browser"

For the "insert text" portion, I just used 503: Service Unavailable. With the amount of DDoS attacks (brute force/password sprays) VPNs are experiencing, I would just stick with standard HTTP error messages.

Review Cisco Networking for a $25 gift card