[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: redirecting ports from machine to machine



I think that the 'rinetd' package wil do this.

Alternatively, you can write a daemon yourself to do it; 
something like the following, plugged into a normal
inetd.conf, will do the trick. Note that nc is a seperate
package, I think that the 'socket' program is similar
but haven't used it.

--cut
#!/bin/sh
#just open a connecton to the real server
#my stdin/stdout represent the client (using inetd)
/usr/bin/nc real-server-host port
--cut

Carl


Reply to: