blob: eb543afb08293d53d922ff1b16d69ff87fc61a59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# This section defines common settings for the rinetd process.
config common
# Remove the comment from the line below to enable logging.
#option logfile /var/log/rinetd.log
# Enable the option below to use a web server style
# common log format.
#option logcommon 1
# Define allow and deny rules below, you may use "?" and "*"
# as wildcards, "?" matches exactly one and "*" matches zero
# or more characters.
#
#list deny "88.*.*.*"
#list deny "89.123.12?.*"
#
#list allow "192.168.*.*"
#list allow "172.16.*.*"
#list allow "10.*.*.*"
# Forwarding sections define forwarding rules for rinetd,
# there may be multiple sections of this type to define
# any number of forwardings.
config forwarding
# IP and port rinetd should listen to for connections.
# Use the address "0.0.0.0" to listen on any interface.
option bindaddress "0.0.0.0"
option bindport "123"
# IP and port to forward accepted connections to.
option connectaddress "10.0.0.1"
option connectport "123"
|