mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-05-27 22:47:38 +02:00
update rinetd
This commit is contained in:
parent
77f2d957c3
commit
09c50fd29f
@ -5,4 +5,23 @@ rinetd
|
|||||||
address/port combination to another. It is useful when operating virtual
|
address/port combination to another. It is useful when operating virtual
|
||||||
servers, firewalls and the like.
|
servers, firewalls and the like.
|
||||||
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
|
||||||
[1]: https://github.com/samhocevar/rinetd
|
[1]: https://github.com/samhocevar/rinetd
|
||||||
|
@ -21,12 +21,10 @@
|
|||||||
# 127.0.0.1 4000/udp 127.0.0.1 22 [timeout=1200]
|
# 127.0.0.1 4000/udp 127.0.0.1 22 [timeout=1200]
|
||||||
# 127.0.0.1 8000/udp 192.168.1.2 8000/udp [src=192.168.1.2,timeout=1200]
|
# 127.0.0.1 8000/udp 192.168.1.2 8000/udp [src=192.168.1.2,timeout=1200]
|
||||||
|
|
||||||
127.0.0.1 5353/udp 8.8.8.8 53/udp
|
127.0.0.1 5353/udp 8.8.8.8 53/udp
|
||||||
|
|
||||||
# logging information
|
# logging information
|
||||||
# logfile /var/log/rinetd.log
|
|
||||||
|
|
||||||
logfile /dev/stdout
|
logfile /dev/stdout
|
||||||
|
|
||||||
# uncomment the following line if you want web-server style logfile format
|
# uncomment the following line if you want web-server style logfile format
|
||||||
# logcommon
|
logcommon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user