The tunnel command establishes a secure tunnel between your local machine and a data component in remote app. It binds to a local port, through which you can connect to your running service.


# Pattern
nanobox tunnel <remote> <component> -p <local-port>

# Example
nanobox tunnel production data.redis -p 6379


-p, --port

Specifies the local port through which you'd like to establish the secure tunnel.

Connecting Through an Established Tunnel

Instructions for connecting to data services through an established tunnel are provided in the Managing Live Data doc.

Reach out to and we'll try to help.