Sign inSign up

huggla/sam-tcp_proxy

By huggla

•Updated about 4 years ago

Secure and Minimal tcp-proxy.

Image
0

1.6K

huggla/sam-tcp_proxy repository overview

⁠sam-tcp_proxy

Secure and Minimal tcp proxy. Runs as non-privileged user and can therefore only proxy to unprivileged ports (>=1024).

⁠Environment variables

⁠pre-set runtime variables
  • VAR_PORT="8080"
  • VAR_FINAL_COMMAND='socat TCP-LISTEN:${VAR_LISTEN_PORT:-$VAR_PORT},fork,reuseaddr TCP:$VAR_HOST:$VAR_PORT'
  • VAR_LINUX_USER="proxy"
⁠Runtime variables
  • VAR_HOST
  • VAR_LISTEN_PORT (optional)

⁠Capabilities

Can drop all but SETPCAP, SETGID and SETUID.

Tag summary

Content type

Image

Digest

Size

3.4 MB

Last updated

over 6 years ago

docker pull huggla/sam-tcp_proxy