All of lore.kernel.org
 help / color / mirror / Atom feed
* Ethernet port redirection
@ 2005-01-05 15:22 Navneet
  2005-01-05 15:52 ` Jason Opperisano
  2005-01-07 11:05 ` Askar
  0 siblings, 2 replies; 5+ messages in thread
From: Navneet @ 2005-01-05 15:22 UTC (permalink / raw)
  To: netfilter

Hi,

Now, pease check this out :-
I was trying to run squid in transparent mode(Transparent Proxying) ?

System details:
RedHat Linux 9
eth0 133.147.171.169/8 [Internal NIC]
eth1 172.21.133/14        [External NIC]

All http request get REDIRECTED to squid  at eth0(Internal).It should work
as Gateway by means of eth1(External).

i've done this:
1.Enabled IP forwarding
#echo "1" >/proc/sys/net/ipv4/ip_forward
2.iptables (Netfilter) PORT REDIRECTION:
#iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 3128

Port not getting REDIRECTED as per above iptables rule?.
Why it so?

Thanks

Regards,
Navneet

"Learning Linux"

Reference:
http://www.ibiblio.org/pub/Linux/docs/HOWTO/TransparentProxy
http://iptables-tutorial.frozentux.net/iptables-tutorial.html
http://www.iptablesrocks.org/




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-07 13:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05 15:22 Ethernet port redirection Navneet
2005-01-05 15:52 ` Jason Opperisano
2005-01-06 23:48   ` Jose Maria Lopez
     [not found]   ` <002501c4f4b6$278eed40$eaab9385@gagan>
2005-01-07 13:47     ` Jason Opperisano
2005-01-07 11:05 ` Askar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.