Linux Netfilter discussions
 help / color / mirror / Atom feed
* redirecting on a local machine
@ 2007-01-19 18:44 saspan
  2007-01-19 18:47 ` Jan Engelhardt
  2007-01-19 19:24 ` Pascal Hambourg
  0 siblings, 2 replies; 8+ messages in thread
From: saspan @ 2007-01-19 18:44 UTC (permalink / raw)
  To: netfilter

Hi there,

I have serious trouble configuring a LTSP-server, wanting it to 
work as a transparent proxy using squid in order to secure 
web-access for our children.

The problem is to redirect TCP-requests to the machine itself.

More detailed: I want the tcp-requests from users logged into 
the LTSP-machine being redirected to the machines' proxy. 
As mentioned above the proxy is running on the same system.

A simple

iptables -t -nat -A OUTPUT -m owner ! --owner-uid squid -p tcp 
--dport 80 -j REDIRECT --to-destination 3128

doesn't seem to work, cause a browser would not be expecting a 
reply from a transparent proxy when waiting for replies to its requests.

What am I doing wrong here? Do the packets have to masked 
locally before redirecting them to the proxy?

Any help is appreciated as I have been guessing on this problem 
for three days.

Regards,
Sascha


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

end of thread, other threads:[~2007-01-27 14:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 18:44 redirecting on a local machine saspan
2007-01-19 18:47 ` Jan Engelhardt
2007-01-19 18:54   ` saspan
2007-01-19 19:24 ` Pascal Hambourg
2007-01-19 19:48   ` saspan
2007-01-19 22:23     ` Jan Engelhardt
2007-01-27 14:57       ` Jan Engelhardt
2007-01-19 22:34     ` Pascal Hambourg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox