mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
.. | ||
data | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
rinetd
rinetd is used to efficiently redirect connections from one IP address/port combination to another. It is useful when operating virtual servers, firewalls and the like.
docker-compose.yml
version: "3.8"
services:
rinetd:
image: vimagick/rinetd
volumes:
- ./data:/etc/rinetd
network_mode: host
restart: unless-stopped
up and running
$ docker-compose up -d
$ dig @127.0.0.1 -p 5353 google.com +short
$ docker-compose logs