packages/net/rinetd/files/rinetd.config
jow dfea94ccdf [packages] new package: rinetd - internet redirection server
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-14 13:58:02 +00:00

34 lines
995 B
Plaintext

# 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"