> We have a server in our college which is connected to
> the Internet and the intranet. We wanted to forward
> all HTTP requests to this server to another machine on
> the intranet. Is there any way to do this ? 

Google should have given you the answer to this earlier than the list.
But anyways .. 

/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 3128

something like the above should do the trick. The above command is on
one line btw.

HTH
Sharninder 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to