Rinetd


From Docunext Technology Wiki

Jump to: navigation, search

I've been looking for a program like rinetd for a looong time. Its very simple - it just redirects TCP connections from one IP port combination to another.

Rinetd Configuration

/etc/rinetd.conf

#
# 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
192.168.0.48    82222       192.168.0.59    80
192.168.0.48    5900        192.168.0.59    5900

# logging information
logfile /var/log/rinetd.log

# uncomment the following line if you want web-server style logfile format
# logcommon

See Also

Personal tools