rinetd/rinetd.conf

33 lines
998 B
Plaintext
Raw Permalink Normal View History

#
# 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?
2021-02-14 19:05:29 +08:00
# allow fe80:*
# deny 2001:618:*:e43f
#
# forwarding rules come here
#
# you may specify allow and deny rules after a specific forwarding rule
# to apply to only that forwarding rule
#
2017-09-10 01:25:06 +08:00
# bindadress bindport connectaddress connectport options...
# 0.0.0.0 80 192.168.1.2 80
2021-02-14 19:05:29 +08:00
# ::1 80 192.168.1.2 80
# 0.0.0.0 80 fe80::1 80
2017-09-10 01:25:06 +08:00
# 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]
# logging information
logfile /var/log/rinetd.log
# uncomment the following line if you want web-server style logfile format
# logcommon