Linux Box Admin
Trusted Remote Administration
logo

Tilde
What's new
Articles
Micro HowTos
About
Contact







Rinetd
(1 vote)
Wednesday, 17 October 2007
   
    Rinetd    
     
       
 
 Rinetd is a tcp port forwarding daemon. It will forward connections from one ip:port pair to another. It has built in allow rules support and multiple  loggin options. All this is configured in rinetd.conf file.
 
Installation is pretty straightforward.
First download the current source file from rinetd homepage
Unpack it and fire up a make & make install commands.
 
Rinetd is now ready for use - you need to change the configuration file located at /etc/rinetd.conf to reflect your needs.
The forwarding rules are in form:
local_ip local_port remote_ip remote_port
 
The allow rules are very simple:
allow pattern
 
where patter is in form 200.200.*
 
By default, rinetd logs these data:
Date and time
Client address
Listening host
Listening port
Forwarded-to host
Forwarded-to port
Bytes received from client
Bytes sent to client
Result message

 
You can switch to n apache log format by putting a 
logcommon 
directive in the config file.
 
 
 
 
   
       
         
 

Copyright © 2006,2007 Linux Box Admin.

 
My NHL fan blog