On Thu, Jun 01, 2000 at 02:51:55PM +0100, Martin Feeney mentioned:
> > Mornin' all,
> > Right. We have a linux router whihc takes care of our internet
> > access. What we want to do is prevent people from accessing the web
> > directly, rather redirect all http/ftp packets to the squid proxy server,
> > which is another linux box. Is there anyway to do this? It looks like it
> > invloves sniffing the packets or something. Not essential, but would be
> > nice if it was possible.
> I've been trying to do the same with an ipchains REDIRECT rule but it
> seems to be having no effect so far. I'll let you know if I get anywhere
> with it.
I was playing with this on friday. You need to download "ipmasqadm",
which is a nice frontend to some of the ip masquerading things. It has an
"portfw" module, and you can do stuff like:
# ipmasqadm portfw -L localip localport -R remoteip remoteport
Kate
--
"The fool must be beaten with a stick, for an intelligent person
the merest hint is sufficient" -- Zen Master Greg
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!