What are the steps to disable SSL VPN on FortiOS v6.x? I opened a case with support and they weren’t helpful ( see below ). Any time I try to clear any interfaces or values, I get errors saying they are required.
Ravi Muppa(10:31:25): config vpn ssl settings unset source-interface end
Customer(10:32:12): let me try it.
Customer(10:33:13): i get an error after typing “end”
Customer(10:33:14): Please set source-interface in vpn.ssl.settings as some of the authentication rules do not have source-interface. object check operator error, -2007, discard the setting Command fail. Return code -2007
Ravi Muppa(10:33:50): oh its not letting form CLI as well
Ravi Muppa(10:34:12): did you removed all the ssl policies and address objects linked to ssl.root interface
Remove the interface binding from “config vpn ssl setting”, and you’re done. There isn’t any literal “set enable|disable” for it, it just turns on as soon as you add an inteface for it and create a firewall policy.
There might be additional dependencies on top of it, so you might need to do some further wiping, if it refuses. (e.g.SSL-VPN firewall policies, group-to-portal mappings, etc.)
Yeah in the GUI if you have a listening interface in SSL settings you cant then remove it. But in the cli you can, just unset the interface that’s set. If you go back to the GUI afterwards you will see the interface is blank.
And have you tried removing other stuff from there like I suggested?
Alternatively give us a dump from “show vpn ssl setting” and the exact firmware version, and I can try to find out what’s blocking it.
Or to spell it out more explicitly: Delete all portal mapping rules from the config.
Not sure, I never had to turn it off. Also with no policy for sslvpn it won’t do anything. So if the firewall won’t let you turn it off, then just cripple it.
HOME-FG60E (settings) # show
config vpn ssl settings
set ssl-min-proto-ver tls1-1
set servercert “Fortinet_Factory”
set tunnel-ip-pools “SSLVPN_TUNNEL_ADDR1”
set tunnel-ipv6-pools “SSLVPN_TUNNEL_IPv6_ADDR1”
set port 443
set source-interface “wan1”
set source-address “all”
set source-address6 “all”
set default-portal “full-access”
end
HOME-FG60E (settings) # unset source-interface
HOME-FG60E (settings) # show
config vpn ssl settings
set ssl-min-proto-ver tls1-1
set servercert “Fortinet_Factory”
set tunnel-ip-pools “SSLVPN_TUNNEL_ADDR1”
set tunnel-ipv6-pools “SSLVPN_TUNNEL_IPv6_ADDR1”
set port 443
end
sorry… “it” refers to the IPv4 Policy… I will dig into the local-in-policy option, but sure seems like there should be an easier way to just disable it