Monday, January 16, 2006

Redirecting TCP Connections - Rinetd

RINETD : - Internet Redirection Server

Redirects TCP connections from one IP address and port to another. rinetd is a single-process server which handles any number of connections to the address/port pairs specified in the file /etc/rinetd.conf

Rinetd is typically launched at boot time using /usr/sbin/rinetd

The configuration is found in the file /etc/rinetd.conf unless another file is specified using -c command line option

Most of the entries in the file are Forwarding rules

The Format of the forwarding rules is as follows

bindaddress bindport connectedaddress connectedport

For example 80 80

Would redirect all connections on port 80 on 220 to 80 on 30

Check more about this here

No comments: