WinFuture-Forum.de: Fragen Zum Transparenter Proxy - WinFuture-Forum.de

Zum Inhalt wechseln

Nachrichten zum Thema: Linux
Seite 1 von 1

Fragen Zum Transparenter Proxy Debian 4.0 und Squid


#1 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

  geschrieben 19. Februar 2009 - 11:58

Hallo Leute

Ich habe ein Frage zum Squid Server.
Ich habe eine *.pac datei erstellt, wo die IP Adresse hinterlegt ist, und der Pfad zur *.pac datei ist im Internet explorer eingetragen.

Nun zu meiner Frage:
Wie kann ich meinen Squid so einricihten, dass man im Internet Explorer oder auch sonst wo nichts mehr einstellen muss und der automatisch über den Proxy läuft? Also das nur die eingetragenen Rechner die in der Config stehen, ohne Einstellungen über den Proxy laufen.
Das einzige was ich weiß, dass man die Proxy IP auf den Rechner als Gateway einstellt.
Habe auch schon ein bisschen gegoogled und alles,aber finde nichts brauchbares, bzw nichts was funktioniert.

Rechner (ohne browser einstellung) --> Squid ---> anderer Proxy ---> Internet/intranet

Hier mal meine Config

Zitat

http_port 3128
#transparent
icp_port 0

cache_mem 256 MB
cache_dir ufs /var/spool/squid 2048 56 256
maximum_object_size 512 KB
ipcache_size 1024

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

access_log /var/log/squid/access.log squid
hosts_file /etc/hosts

client_netmask 255.255.255.0

error_directory /etc/squid/errors/

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
#acl allowed_clients src 139.27.116.0/24
acl surf1 src ***.***.***.***/255.255.255.255
acl surf2 src ***.***.***.***/255.255.255.255
acl surf3 src ***.***.***.***/255.255.255.255
acl surf4 src ***.***.***.***/255.255.255.255
acl surf5 src ***.***.***.***/255.255.255.255
acl surf6 src ***.***.***.***/255.255.255.255
acl surf7 src ***.***.***.***/255.255.255.255
acl surf8 src ***.***.***.***/255.255.255.255
acl surf9 src ***.***.***.***/255.255.255.255
acl surf10 src ***.***.***.***/255.255.255.255
acl surf11 src ***.***.***.***/255.255.255.255
acl surf12 src ***.***.***.***/255.255.255.255
acl admin src ***.***.***.***/255.255.255.255
acl server src ***.***.***.***/255.255.255.255
acl server2 src ***.***.***.***/255.255.255.255
acl admin2 src ***.***.***.***/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl gesperrt url_regex -i "/etc/squid/gesperrt.regexp"
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access deny gesperrt

http_access allow localhost
http_access allow surf1
http_access allow surf2
http_access allow surf3
http_access allow surf4
http_access allow surf5
http_access allow surf6
http_access allow surf7
http_access allow surf8
http_access allow surf9
http_access allow surf10
http_access allow surf11
http_access allow surf12
http_access allow admin
http_access allow server
http_access allow server2
http_access allow admin2
#http_access allow allowed_clients
http_access deny all

cache_peer ***.***.***.*** parent 8080 0 no-query default login=*****:******
never_direct allow all

icp_access allow localhost
icp_access deny all

0

Anzeige



#2 Mitglied ist offline   EliteU2 

  • Gruppe: aktive Mitglieder
  • Beiträge: 595
  • Beigetreten: 21. Februar 03
  • Reputation: 0
  • Geschlecht:Männlich
  • Wohnort:Ruhrpott

geschrieben 25. Februar 2009 - 14:38

gut das keiner nen plan hat lol
0

#3 Mitglied ist offline   Astorek 

  • Gruppe: aktive Mitglieder
  • Beiträge: 1.145
  • Beigetreten: 28. Juli 07
  • Reputation: 42
  • Geschlecht:Männlich

geschrieben 25. Februar 2009 - 19:03

Das geht halt in einem Bereich hinein, mit dem man Geld verdienen kann :wink: . Vielleicht googelst du mal nach "DHCP-Server", das dürfte wahrscheinlich sein, was du suchst... Kannst bei der Gelegenheit nachforschen, woher dein eigener Rechner sofort eine Internetverbindung besitzt, wenn er an einem Router angeschlossen ist :huh: .
0

Thema verteilen:


Seite 1 von 1

1 Besucher lesen dieses Thema
Mitglieder: 0, Gäste: 1, unsichtbare Mitglieder: 0