General configuration
If FortiCare Support is registered on the FortiGate, you can configure OCVPN in FortiOS under VPN > One-Click VPN Settings.
Once enabled, you can add the relevant Subnets, as well as view any Cloud Members currently participating in the cloud-serviced VPN (you may need to Refresh the Cloud Members table).
If you wish to change the polling interval, you must do so in the CLI Console (see below).
To enable and configure OCVPN - CLI:
config vpn ocvpn
set status {enable | disable}
set poll interval <30 - 120>
config subnets
edit 1
set subnet 10.1.1.0 255.255.255.0
next
edit 2
set subnet 10.1.2.0 255.255.255.0
next
end
end
where:
Command |
Description |
---|---|
|
This command enables or disables the service. After a device has been registered with FortiCare, enabling this feature registers the device with the OCVPN cloud service. Disabling causes the device to be unregistered, and removed from the table of VPN members. |
|
Set the OCVPN polling interval. Enter an integer value from 30 to 120 (default = 60). |
|
This is the OCVPN subcommand for configuring the list of participating subnets. |