Skip to main content

tuna redis

Start a Redis tunnel.

Guide with examples: Redis.

Usage
tuna redis [port] [flags]
Examples
tuna redis
tuna redis 6379
tuna redis 10.0.0.1:6379
tuna redis 6379 --port=redis
tuna redis 6379 --port=35000
FlagDescription
--api-key stringYour tuna.am api key with the tunnels:connect scope (env TUNA_API_KEY).
--cidr-allow stringReject connections that do not match the given CIDRs. Can be repeated.
--cidr-deny stringReject connections that match the given CIDRs. Can be repeated.
--inspect-port intInspector port, the tunnel fails if it is busy (also TUNA_INSPECT_PORT).
-p, --port stringPort for incoming connections.
--qrGenerate and show QR code.

Global flags work too.