unikraft instances tunnel
Forward a local port to an unexposed instance through an intermediate TLS tunnel service.
When you need to access an instance on Unikraft Cloud which is not
publicly exposed to the internet, you can use the
unikraft instance tunnel subcommand to forward from a local
port to a port which the instance listens on.
Code
Examples
Forward local port 8080 to instance "nginx" port 8080:
Code
Forward local port 8333 to instance "nginx" port 8080:
Code
Forward multiple ports from multiple instances:
Code
Forward local port 8080 to instance "my-instance1" port 8080 on fra metro using TCP:
Code
Use a custom relay port to avoid collisions:
Code
Options inherited from parent commands
Code
See Also
unikraft instances: Manage Unikraft Cloud instances.
Last modified on