Toolbelt lease management


Temporary lease

Opens a port on your server firewall to temporarily allow access from a specified IP address.


$ cx lease [-s <stack>] [-f <from IP>] [-t <time to open>] [-p <port>]


Parameter Default Description
stack Name of the stack
f (optional) Users IP address The source IP to allow connections from
t (optional) 20 minutes Time to open for (max 240 minutes)
p (optional) 22 Port to open
e (optional) Your stack environment


$ cx lease -s "My Awesome App" -f -t 30 -e production

For more fine grained access control, use the Stack network settings page.

Still need help? Contact Us Contact Us