v1.0.4
Changelog
Add ttl flag to expose http or tcp and enable commands:
wiredoor tcp postgres --port 5432 --ttl 1h
wiredoor enable http 1 --ttl 10mThis would automatically disable or unexpose the service after the specified duration, improving security and reducing the need for manual cleanup of temporary exposures.
--ttl accepts durations like 120s, 10m, 1h, 2d, etc