Deleting an SSL-VPN connection (V2 service)

This section explains the procedure for deleting a (V2 service) SSL-VPN connection.

Note:

When an SSL-VPN connection is deleted, the following settings that were automatically configured during the creation of that SSL-VPN connection are also deleted.

  1. Firewall rules

    The firewall rules created for use during dedicated SSL-VPN connections are deleted.

  2. Static routing information

    The static routing information configured for use during dedicated SSL-VPN connections is deleted.

  3. Security groups

    The security group created for use during dedicated SSL-VPN connections is deleted.

  4. Global IP address

    The global IP address allocated to the SSL-VPN connection is de-allocated.

The basic procedure for deletion is the reverse of the procedure for creation.

  1. Configure the following.
    $ TMP_SSLCONNECT_ID=<SSL-VPN Connection ID>
  2. Execute the following API.
    $ curl -X DELETE -sS -i $NETWORK/v2.0/vpn/ssl-vpn-v2-connections/\
    $TMP_SSLCONNECT_ID -H "X-Auth-Token: $OS_AUTH_TOKEN" \
    -H "Content-Type: application/json"
    HTTP/1.1 204 No Content
    Server: Apache
    Date: Www, DD MMM yyyy hh:mm:ss GMT
    x-compute-request-id: req-<ID>
    Cache-Control: no-cache
    X-Request-Id: <ID>
    X-Runtime: <runtime>
    Keep-Alive: timeout=5, max=100
    Content-Type: text/html; charset=UTF-8
    Content-Length: 0