Basic usage

openport 22
openport 8080 --http-forward
openport 3389 --restart-on-reboot

   usage: openport [-h] [--local-port LOCAL_PORT] [--register-key REGISTER_KEY]
                [--version] [--list] [--kill KILL] [--kill-all]
                [--restart-shares] [--request-port REQUEST_PORT]
                [--request-token REQUEST_TOKEN] [--verbose] [--http-forward]
                [--restart-on-reboot] [--forward-tunnel]
                [--remote-port REMOTE_PORT]
                [--ip-link-protection {True,False}] [--name NAME]

positional arguments:
  port                  The port you want to openport.

optional arguments:
  -h, --help            show this help message and exit
  --local-port LOCAL_PORT
                        The port you want to openport.
  --register-key REGISTER_KEY
                        Use this to add your link your client to your account.
  --version, -V         Print the version number and exit.
  --list, -l            List shares and exit
  --kill KILL, -k KILL  Stop a share
  --kill-all, -K        Stop all shares
  --restart-shares      Restart all active shares.
  --request-port REQUEST_PORT
                        Request the server port for the share. Do not forget
                        to pass the token.
  --request-token REQUEST_TOKEN
                        The token needed to restart the share.
  --verbose, -v         Be verbose.
  --http-forward        Request an http forward, so you can connect to port 80
                        on the server.
  --restart-on-reboot, -R
                        Restart this share when the manager app is started.
  --forward-tunnel      Forward connections from your local port to the server
  --remote-port REMOTE_PORT
                        The server port you want to forward to (only use in
                        combination with --forward-tunnel).
  --ip-link-protection {True,False}
                        Set to True or False to set if you want users to click
                        a secret link before they can access this port. This
                        overwrites the standard setting in your profile for
                        this session.
  --name NAME           The name for this client. (Use in combination with

Known limitations

Not all http requests are supported to day. Only GET and POST is.