2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-05 12:25:27 +01:00

add rinetd

This commit is contained in:
kev
2018-02-06 18:08:53 +08:00
parent 4a344737b5
commit 77f2d957c3
5 changed files with 71 additions and 0 deletions

32
rinetd/data/rinetd.conf Normal file
View File

@@ -0,0 +1,32 @@
#
# this is the configuration file for rinetd, the internet redirection server
#
# you may specify global allow and deny rules here
# only ip addresses are matched, hostnames cannot be specified here
# the wildcards you may use are * and ?
#
# allow 192.168.2.*
# deny 192.168.2.1?
#
# forwarding rules come here
#
# you may specify allow and deny rules after a specific forwarding rule
# to apply to only that forwarding rule
#
# bindadress bindport connectaddress connectport options...
# 0.0.0.0 80 192.168.1.2 80
# 127.0.0.1 4000 127.0.0.1 3000
# 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 5353/udp 8.8.8.8 53/udp
# logging information
# logfile /var/log/rinetd.log
logfile /dev/stdout
# uncomment the following line if you want web-server style logfile format
# logcommon