Hallo, ich habe hier ein kleines privates Netz mit 3 Rechnern aufgebaut. Mit meinem Linux-Rechner gehe ich ins Internet, und mit Masquerading können die anderen Rechner über den Linux-Rechner ins Netz gehen. Nun habe ich vor, mir einen kleinen Proxy-Server zu bauen, und benötige dazu ein kleines bißchen Hilfe. Den Port in der /etc/squid.conf habe ich bei 3128 belassen. Wie kann ich nun testen, ob der Proxy funktioniert ? Auf den Windoof-Rechnern läuft der M$-IE 3.1 und 4.0. Was genau muß ich dort bei der Proxy-Konfiguration eintragen ? Und wie muß die Netzwerk-Konfiguration bei den Windoof-Rechnern aussehen ? (Wiegesagt, IP-Masquerading funktioniert schonmal !!!) Wenn ich dort 192.168.0.52 und Port 3128 eintrage, bekomme ich nach 1-2 Sekunden eine Fehlermeldung (Verbindung zur Seite ... kann nicht aufgebaut werden!) Die 192.168.0.52 ist übrigens die IP meines Linux-Rechners. Wer kann mir helfen ? (Evtl. auch mit einer funktionierenden squid.conf) ? Vielen Dank im Vorraus ! -- --E-Mail: framk.fun@cymes.de; frank.fun@gmx.net; frank.fun@01019freenet.de-- "Don't tell me I'm burning the candle at both ends -- tell me where to get more wax!!" -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
On Tue, Jan 05, 1999 at 01:02:01PM +0100, Frank von Daak wrote:
Nun habe ich vor, mir einen kleinen Proxy-Server zu bauen, und benötige dazu ein kleines bißchen Hilfe. Schon in "/usr/doc/packages/squid" nachgeschaut?
Den Port in der /etc/squid.conf habe ich bei 3128 belassen. Gut, aber was wurde geaendert / eingetragen? Aenderungen koennten / sollten folgende Parameter betreffen (nur Beispiele):
cache_host proxy.provider.de parent 80 0 no-query default inside_firewall deine.domain local_domain deine.domain append_domain .deine.domain refresh_pattern/i .\.gif$ 10080 90% 80640 refresh_pattern/i .\.jpe?g$ 720 80% 40320 refresh_pattern . 30 20% 1440
Wie kann ich nun testen, ob der Proxy funktioniert ? Zunaechst mal schauen, ob er laeuft und welche Meldungen in /var/log/messages auftauchen. Dort sollte in etwa stehen: ... squid[<pid>]: Starting Squid .... ... squid[<pid>]: Ready to serve requests. Fehlermeldungen?
Dann erstmal auf dem Linux Rechner fuer einen Browser (z.B. Lynx) den Proxy eintragen und ausprobieren. Log Files in /var/squid/logs. (zumindest unter S.u.S.E. 5.2)
(Wiegesagt, IP-Masquerading funktioniert schonmal !!!) Wird hierfuer nicht benoetigt.
MfG -- Stefan Tichy <s_tichy@t-online.de> -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
Hi, Frank von Daak wrote: ...
Nun habe ich vor, mir einen kleinen Proxy-Server zu bauen, und benötige dazu ein kleines bißchen Hilfe. Den Port in der /etc/squid.conf habe ich bei 3128 belassen. Wie kann ich nun testen, ob der Proxy funktioniert ?
unbekannte URL eingeben oder offline-betrieb: The system returned: Name Server for domain 'wrong.url' is unavailable. This means that: The named host probably does not exist. Generated by squid/1.NOVM.21@host.parakarl.de ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Auf den Windoof-Rechnern läuft der M$-IE 3.1 und 4.0.
chlecht, allerdings nicht hinderlich
Was genau muß ich dort bei der Proxy-Konfiguration eintragen ?
192.168.0.52 und Port 3128
Und wie muß die Netzwerk-Konfiguration bei den Windoof-Rechnern aussehen ? (Wiegesagt, IP-Masquerading funktioniert schonmal !!!)
als gateway 192.168.0.52 und den DNS deines providers oder (sofern vorhanden) dein eigener DNS - dann ist die angabe des gateways überflüssig [meine /etc/squid.conf - nur die effektiven einträge:] http_port 8080 local_domain parakarl.de local_ip 64.100.1.0 hierarchy_stoplist cgi-bin ? cache_stoplist cgi-bin ? cache_mem 8 cache_swap 100 maximum_object_size 1024 cache_dir /var/squid/cache debug_options ALL,1 ftp_user parakarl@rup.net dns_children 1 reference_age 2 days acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl all src 0.0.0.0/0.0.0.0 acl SSL_ports port 443 563 acl Dangerous_ports port 7 9 19 acl CONNECT method CONNECT http_access deny manager !localhost http_access deny CONNECT !SSL_ports http_access deny Dangerous_ports http_access allow all icp_access allow all miss_access allow all cache_effective_user squid nogroup dns_testnames internic.net usc.edu cs.colorado.edu mit.edu yale.edu minimum_direct_hops 4 bye Karl Esau (parakarl@rup.net) ___ceterum_censeo_Microsoft_esse_delendum -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
Hallo Frank, Unter folgender Adresse findets Du die Squid Users Guide, die alles erklärt: <A HREF="http://cache.is.co.za/squid/"><A HREF="http://cache.is.co.za/squid/</A">http://cache.is.co.za/squid/</A</A>> Mit auf der Distribution ist auch ein File, dessen Name hält, was er verspricht: /usr/doc/packages/squid/QUICKSTART Gruss, Andreas --
Linux - Where do you want to go tomorrow? <<
Andreas Schlapbach phone: 033 437 55 02 Aumattweg 48 <A HREF="mailto:schlpbch@iamexwi.unibe.ch">mailto:schlpbch@iamexwi.unibe.ch</A> CH-3613 Steffisburg <A HREF="http://iamexwiwww.unibe.ch/studenten/schlpbch"><A HREF="http://iamexwiwww.unibe.ch/studenten/schlpbch</A">http://iamexwiwww.unibe.ch/studenten/schlpbch</A</A>> -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
participants (4)
-
frank.fun@cymes.de
-
parakarl@rup.net
-
s_tichy@t-online.de
-
schlpbch@bluewin.ch