VPNaaS - restarting the service

Sometimes it can be necessary to restart the IPsec connection that has been set up. For example, if problems arise with traffic flow (e.g. the gateway of the remote private network is accessible but there is no access to the hosts on that network).

Restarting a connection consists in shutting it down and then starting it up again:

Restart IPsec connection via SIM-Cloud web interface

  1. Go to “PROJECT” → “NETWORK” → “VPN” in the SIM-Cloud dashboard.
  2. Open the “IPSEC SITE CONNECTIONS” tab.
  3. Next to the required connection, click “EDIT CONNECTIONS”.
  4. A dialog titled ‘Edit IPsec Site Connection’ appears. At the bottom, deselect (untick) ‘Enable Admin State’.
  5. Check that the contents of the other fields have not changed. Now click ‘SAVE CHANGES‘.
  6. Click ‘EDIT CONNECTIONS’ again next to the same connection.
  7. At the bottom of the same ‘Edit IPsec Site Connection’ dialog, tick the checkbox for ‘Enable Admin State’.
  8. Check that the contents of the other fields have not changed. Now click ‘SAVE CHANGES‘.
  9. The IPsec connection is restarted. You can check that it is functioning correctly and traffic is flowing.

Restart IPsec connection via command line interface

  1. Ensure that the required software is installed and set up on the managing host.
  2. Go to “PROJECT” → “NETWORK” → “VPN” in the SIM-Cloud dashboard.
  3. Open the “IPSEC SITE CONNECTIONS” tab.
  4. Click on the name of the required connection.
  5. The properties of the IPsec connection are displayed. Make a note of the identifier. This is the alphanumeric code contained in the ‘ID’ field.
  6. Use the command-line interface to shut down and restart the IPsec connection
openstack vpn ipsec site connection set --disable <IPSec connection ID>
openstack vpn ipsec site connection set --enable <IPSec connection ID>