# example configuration file for rinetd # # # to forward connections to port 80 on 10.10.10.2 to port 80 on 192.168.0.2 # 10.10.10.2 80 192.168.0.2 80 0.0.0.0 6898 0.0.0.0 6697 0.0.0.0 6896 0.0.0.0 6667 # to forward connections to port 80 on all addresses to port 80 on 192.168.0.2 # 0.0.0.0 80 192.168.0.2 80 0.0.0.0 5900 192.168.0.6 5900 # access controls can be set with allow and deny rules # allow and deny before the first forwarding rule are global # allow and deny after a specific rule apply to it only # this rule allows hosts from 172.16.32.0/24 netblock # allow 172.16.32.* # this rule denies the host 192.168.32.12 # deny 192.168.32.12 # rinetd supports logging - to enable, uncomment the following logfile /var/log/rinetd.log # by default, logs are in a tab-delimited format. Web common-log format # is available by uncommenting the following logcommon