1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/rinetd/README.md

28 lines
487 B
Markdown
Raw Normal View History

2018-02-06 10:08:53 +00:00
rinetd
======
[rinetd][1] 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.
2018-02-06 10:21:49 +00:00
## docker-compose.yml
```yaml
rinetd:
image: vimagick/rinetd
volumes:
- ./data:/etc/rinetd
net: host
restart: always
```
## up and running
```bash
$ docker-compose up -d
$ dig @127.0.0.1 -p 5353 google.com +short
$ docker-compose logs
```
2018-02-06 10:08:53 +00:00
[1]: https://github.com/samhocevar/rinetd