Add README.md

This commit is contained in:
2023-08-15 07:31:03 +00:00
parent a0b00096b4
commit 918170d88c

25
README.md Normal file
View File

@ -0,0 +1,25 @@
# TCP Proxy
### Example usage:
#### Add ability to connect to local ssh server from VPN network:
```yml
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:
```yml
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
```