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