Skip to main content

A RESTful API for automated IPAM of a personal lab in vLab

Project description

This service replaces the existing static gateway used in vLab.

The goal of this service is to make it easier for users to access their lab by removing the need for the jumpbox. This is achieved by exposing a RESTful API on the gateway that can dynamically port-forward through the NAT firewall that runs on the gateway. Additionally, vLab clients can leverage this API to programmically connect users to a given resource. For example the vLab CLI client can potentially:

  1. Expose an interface like vlab connect windows --name <name of instance> --protocol=RDP

  2. Call the main vLab server to get the IP of the gateway

  3. Call the API on the gateway to get the port that maps to the specific component and protocol

  4. Evoke an application on the user’s machine that understands the specific protocol, and pre-populate the connection information.

Clients can also programmically create the port forwarding rules upon component creation. This would remove the need for users to manually port forwarding rules, but clients should not prevent users from inputting their own port forwarding rules.

Background Services

The IPAM service has two background processes:

uds-vlab-worker

Periodically pings IPs stored in the IPAM database. This allows the service to identify “bad records” and relay that information to the user.

uds-vlab-log-sender

Forwards firewall logs to a remote server. The default iptables config will log every time a package is FORWARDed. By forwarding the logs for remote processing, admins of vLab can answer business questions like, “Do they use that resource?”

uds-vlab-ddns-updater

Runs on a regular cycle to send Dynamic DNS updates to the vLab DNS service.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uds-vlab-ipam-api-2.0.20220713.tar.gz (31.0 kB view details)

Uploaded Source

File details

Details for the file uds-vlab-ipam-api-2.0.20220713.tar.gz.

File metadata

File hashes

Hashes for uds-vlab-ipam-api-2.0.20220713.tar.gz
Algorithm Hash digest
SHA256 346f11b3e14409b332e0d72903d90864d8a6a4d9087517d5c7d7ca6d7ef68efc
MD5 0ad8055762e7ea3ea46acc7812f5cb9f
BLAKE2b-256 7fe0dcfd12cd518d5b120860be5521eb4f0a908d3059661c704f1198eace3238

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page