Managing Your Oracle Cloud Infrastructure Networking Classic – VPN for Dedicated Compute Classic Connections
This topic does not apply to Oracle Cloud at Customer.
Starting a VPN Connection
This topic does not apply to Oracle Cloud at Customer.
To start a VPN connection using the CLI, use the opc compute vpn-endpoint add command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To start a VPN connection using the API, use the POST /vpnendpoint/ method with the enabled parameter. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.
After you’ve established a VPN connection to your Oracle Cloud Infrastructure Dedicated Compute Classic site, if you want to end the VPN connection, see Disabling a VPN Connection.
Listing Your VPN Connections
This topic does not apply to Oracle Cloud at Customer.
To list your VPN connections using the CLI, use the opc compute vpn-endpoint list command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To list your VPN connections using the API, use the GET /vpnendpoint/container method. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.
Viewing Details of a VPN Connection
This topic does not apply to Oracle Cloud at Customer.
To view details of a VPN connection using the CLI, use the opc compute vpn-endpoint get command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To view details of a VPN connection using the API, use the GET /vpnendpoint/name method. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.
Updating a VPN Connection
This topic does not apply to Oracle Cloud at Customer.
To update a VPN connection using the CLI, use the opc compute vpn-endpoint update command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To update a VPN connection using the API, use the PUT /vpnendpoint/name method. You can update any of the parameters, except name. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.
Disabling a VPN Connection
This topic does not apply to Oracle Cloud at Customer.
To disable or end a VPN connection using the CLI, use the opc compute vpn-endpoint update command without the ––enabled option. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To disable or end a VPN connection using the API, use the PUT /vpnendpoint/name method without the enabled parameter. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.
After disabling a VPN connection, you can start it again later on. See Starting a VPN Connection.
Deleting a VPN Connection
This topic does not apply to Oracle Cloud at Customer.
To delete a VPN connection using the CLI, use the opc compute vpn-endpoint delete command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.
To delete a VPN connection using the API, use the DELETE /vpnendpoint/name method. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.
After deleting a VPN connection, you can create it again later on. See Starting a VPN Connection.