2016-01-11 04:39:30 +08:00
|
|
|
#
|
|
|
|
# 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
|
2017-09-05 02:14:11 +08:00
|
|
|
127.0.0.1 4000 127.0.0.1 22
|
|
|
|
#127.0.0.1 4000/udp 127.0.0.1 22
|
2016-01-11 04:39:30 +08:00
|
|
|
|
|
|
|
# logging information
|
|
|
|
logfile /var/log/rinetd.log
|
|
|
|
|
|
|
|
# uncomment the following line if you want web-server style logfile format
|
|
|
|
# logcommon
|