Fortinet black logo

Handbook

General configuration

6.0.0
Copy Link
Copy Doc ID 4afb0436-a998-11e9-81a4-00505692583a:915218
Download PDF

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

set status {enable | disable}

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.

poll interval <30 - 120>

Set the OCVPN polling interval. Enter an integer value from 30 to 120 (default = 60).

config subnets

This is the OCVPN subcommand for configuring the list of participating subnets.

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

set status {enable | disable}

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.

poll interval <30 - 120>

Set the OCVPN polling interval. Enter an integer value from 30 to 120 (default = 60).

config subnets

This is the OCVPN subcommand for configuring the list of participating subnets.