You can redirect connections multiple ways.  It really depends on which
kernel/distro you are running.  I use either ipchains or a stand alone
daemon called "redir"
http://rpmfind.net/linux/RPM/PLD/PLD-1.0/i586/PLD/RPMS/redir-2.2-1.i586.html

The binary can be run as a stand-alone daemon, or it can be launched by
inetd (or xinetd).  I prefer to launch it with inetd.  Here is an example
from my inetd.conf file:

119 stream tcp nowait root /sbin/redir redir --inetd news.isp.au 119

Here the binary redir is in /sbin/...  I am redirecting any traffic from
port 119 on my box back out to the internet server news.isp.au on port 119.
Notice that you can change the ports.  The incoming port does not have to
equal the outgoing port.

Jon

----- Original Message -----
From: "Rob B" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 9:26 AM
Subject: Re: [SLUG] text mode newsreader, or a server?


> How do I do this?  It seems to be the best option since I am having
trouble
> getting leafnode to download the group information.
>
> Cheers,
> Rob
>
> >
> >Use a redir for port 119 on your home box (pointing the redirect to your
> >ISP's news-server).  Then download news directly at work - relayed via
your
> >home box.  Works great.
> >
> >Jon
> >



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to