pomerium/docs/docs/tcp/redis.md
backport-actions-token[bot] 20e21964d0
Refresh and Update TCP documentation (#2627) (#2679)
* init client app doc

* init TCP section

* add redirect for TCP client doc

* Redis and Mysql

* finish TCP exampels

* init Draft template

* cleanup whitespace

* escape markdown image in template

* add redirect and update links

* copy edit

* Update readme.md

* fmt

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>

* optimize png

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>

* header cleanup and child listing

* Update docs/docs/tcp/ssh.md

Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>

Co-authored-by: cmo-pomerium <91488121+cmo-pomerium@users.noreply.github.com>
Co-authored-by: Bobby DeSimone <bobbydesimone@gmail.com>
Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>

Co-authored-by: Alex Fornuto <afornuto@pomerium.com>
Co-authored-by: cmo-pomerium <91488121+cmo-pomerium@users.noreply.github.com>
Co-authored-by: Bobby DeSimone <bobbydesimone@gmail.com>
Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>
2021-10-14 07:58:37 -07:00

1.5 KiB

title description
Redis Tunnel Redis connections through Pomerium

Tunneled Redis Connections

Redis is a popular in-memory data structure store. It can be run locally or configured as a single or distributed standalone service.

Basic Connection

  1. Create a TCP tunnel, using either pomerium-cli or the Pomerium Desktop client:

    ::::: tabs :::: tab pomerium-cli

    pomerium-cli tcp redis.corp.example.com:6379 --listen :6379
    

    :::tip --listen The --listen flag is optional. It lets you define what port the tunnel listens on locally. If not specified, the client will choose a random available port. :::

    ::::

    :::: tab Pomerium Desktop An example connection to a Redis service from Pomerium Desktop :::tip Local Address The Local Address field is optional. Using it defines what port the tunnel listens on locally. If not specified, Pomerium Desktop will choose a random available port. :::

    :::: :::::

  2. Initiate your Redis connection, pointing to localhost:

    redis-cli -h localhost -p 6379
    

This demonstrates access to a Redis server through Pomerium from the redis-cli tool. Pomerium Enterprise users can utilize Service Accounts to enable secure machine-to-machine communication of Redis services.

More Resources