Hi! I wrote a little utility and want to share it with you. It allows to redirect incoming connections to remote (and also local) host. For example, it listens for incoming TCP connections, accepts them and creates connection with remote host.
But it works not only with TCP. One can easily redirect the following: - TCP - UDP - UNIX socket (SOCK_STREAM) - UNIX socket (SOCK_DGRAM) - serial port (actually, tty device). And it doesn't matter what into what you redirect :) For example, you can give your chrooted web server access to MySQL not enabling networking in MySQL: # netfwd unix stream /chroot/.../mysql.sock unix stream /.../mysql.sock Any connects are welcome! -- Alexey Vatchenko http://www.bsdua.org E-mail: [EMAIL PROTECTED] JID: [EMAIL PROTECTED]