A sshd based reverse proxy host for connecting a client behind a firewall with a fixed ip based host
1.3K
Use this service to expose a service run on another computer in the context of this network
The following docker-compose file allows for our proxy client to expose a client (einmalpizzafunghibitte/sshd-reverseproxy-client) in default network. You may change the network. You may choose to use expose or ports to expose the ports of the thus connected services to any other container in the same network or the host network.
version: "3.3"
services:
proxyhost:
image: einmalpizzafunghibitte/sshd-reverseproxy:latest
volumes:
# mount the ssh server private key here
- ./proxyhost.key:/proxyhost/proxyhost.key:ro
# mount the client public key here (i.e. the public key for the key that the cient uses for authentication)
- ./id_root.pub:/root/.ssh/authorized_keys:ro
ports:
# The port on which sshd should listen. Proxy clients will connect to this port
- 2222:2222
# any port exposed by connecting clients must either be exposed to the host or other containers here
- 9000:9000
restart: always
networks:
default:
Content type
Image
Digest
sha256:a4ea65952…
Size
103.6 MB
Last updated
over 1 year ago
docker pull einmalpizzafunghibitte/sshd-reverseproxy