Ad Hoc Ports
Ad hoc ports are the ports assigned to a resource for a specific purpose, by a user who is a member of an organization that is not using Port Overrides.
You can create ad hoc ports in either the client GUI or the CLI.
Create Ad Hoc Ports in the GUI
To create an ad hoc port in the client GUI, follow these steps:
- Click and drag a Datasource to the bottom of the strongDM window, where a green bar will appear labeled create new port.
- Release it, and that Datasource will be given its own persistent port under additional ports.
These ports will persist between strongDM restarts.
To destroy an ad hoc port, follow these steps:
- Click and drag a Datasource to the bottom of the window where a red bar will appear labeled delete port.
- Release it there, and the ad hoc port will be deleted.
Create Ad Hoc Ports in the CLI
To create an ad hoc port via the strongDM CLI, add a port number to the
sdm connect command, as in the example shown:
$ sdm connect mssql1 1500connect successful$ sdm statusDATASOURCE NAME STATUS PORT TYPEmssql1 not connected 1433 mssqlmssql1 connected 1500 mssql
You can specify any port, with the following exceptions:
- The port must be > 1024
- The port must not be within 5 of the default port for that Datasource type. For instance, a Microsoft SQL Server Datasource has a default port of 1433. This means that you cannot specify a port between 1428 and 1438 as the custom port.