Go to file
conky 79d2f35607 made tcp proxy executable 2023-09-20 16:36:48 +03:00
Dockerfile Add Dockerfile 2023-08-15 07:22:09 +00:00
README.md Add README.md 2023-08-15 07:31:03 +00:00
tcp-proxy.sh made tcp proxy executable 2023-09-20 16:36:48 +03:00

README.md

TCP Proxy

Example usage:

Add ability to connect to local ssh server from VPN network:

host_ssh:
    build: https://git.devbones.com/conky/docker-tcp-proxy.git
    network_mode: 'service:wireguard'
    restart: unless-stopped
    environment:
      - PORT=22
      - LISTEN_PORT=2222

Listed for connections on port 5353 and proxy them to CloudFlare DNS:

dns_proxy:
    build: https://git.devbones.com/conky/docker-tcp-proxy.git
    restart: unless-stopped
    environment:
      - PORT=53
      - HOST=1.1.1.1
      - LISTEN_PORT=5353