transparent proxy

From: Oliver Schneider <oliver(at)freeware.de>
Date: Fri, 27 Oct 2000 00:24:29 +0200 (CEST)

Hallo,

wie kann ich auf einem Gateway (ohne nat) einen transparenten www-proxy
einrichten? Klar Squid läuft bei manueller Einstellung im Browser
tadellos. Ich habe imho all Kerneloptionen:

kim:~ # cat /usr/src/sys/i386/conf/KIM | grep IP | grep options
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #print information about
options IPFIREWALL_FORWARD #enable transparent proxy
support
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by
default
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
options IPDIVERT #divert sockets

Der Rechner hat die IP 192.168.2.10 (intern) und 192.168.1.10
(extern). Er ist für alle Clients mit der 192.168.2.10 default Gateway.

kim# ipfw add 10 divert 8080 tcp from 192.168.2.32 to any 80 in

tut es nicht, (das ist meine Kiste zum testen). Es geht dann von meiner
Kiste überhaupt kein www Traffic mehr und im Squid log taucht auch
nichts auf. Aber mit dieser ipfw Regel, kann ich noch ganz normal mit
manuellen Proxyeinstellungen surfen, er würgt also nicht den Squid ab.

<hinweis>
Ja ich habe man ipfw und diverse andere Sachen gelesen.
</hinweis>

Okay schon mal danke im voraus.

Gruß
Oliver

-- 
------------------------------------------------------------------
   Wie man weiss, ist "Windows" ebenfalls indianisch und heisst
      ,,Weisser Mann starren durch Glasscheibe auf Sanduhr``
------------------------------------------------------------------
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 27 Oct 2000 - 00:25:06 CEST

search this site