Ik probeer een squid proxy server op te zetten in mijn persoonlijke testomgeving
Ik heb de standaard conf eruit gesmeten en via google minimum config gezocht.
Echter wordt er niets van traffiek toegelaten door deze proxy.
Dit terwijl ik als eerste rule in mijn config file allow_all vermeld.
Als test alle andere rules in comentaar gezet maar helpt niets.
Ik verwacht dus dat alles van traffiek wordt toegelaten.
Als ik mijn access.log bekijk zie ik dat alle GET-requests gedenied worden.
Via google vind ik geen werkende oplossing, daarom dat ik hier mijn vraag lanceer.
Iemand die mij verder op weg kan zetten?
Ik heb de standaard conf eruit gesmeten en via google minimum config gezocht.
Echter wordt er niets van traffiek toegelaten door deze proxy.
Dit terwijl ik als eerste rule in mijn config file allow_all vermeld.
Als test alle andere rules in comentaar gezet maar helpt niets.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| #ACL SECTION #SAFE PORT SUBSECTION acl SSL_ports port 443 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 CONNECT method CONNECT never_direct allow all #MY LAN #acl local-Network src 192.168.1.0/24 # My lan Network #ALLOW OR DENY ACCESS TO ACLs http_access allow all #http_access allow local-Network #http_access deny !Safe_ports #http_access deny CONNECT !SSL_ports #http_access allow localhost manager #http_access deny manager #http_access allow localhost #http_access deny all #PORTS http_port 3128 #CHROOT DIR coredump_dir /var/spool/squid3 #CACHE REFRESH PATTERNS refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 4320 |
Ik verwacht dus dat alles van traffiek wordt toegelaten.
Als ik mijn access.log bekijk zie ik dat alle GET-requests gedenied worden.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| 1408112829.553 0 192.168.1.2 TCP_DENIED/403 3651 CONNECT accounts.google.com:443 - HIER_NONE/- text/html 1408113182.669 0 192.168.1.2 TCP_DENIED/403 3764 GET http://bol.com/ - HIER_NONE/- text/html 1408113182.782 0 192.168.1.2 TCP_DENIED/403 3854 GET http://www.squid-cache.org/Artwork/SN.png - HIER_NONE/- text/html 1408113182.796 0 192.168.1.2 TCP_DENIED/403 3797 GET http://bol.com/favicon.ico - HIER_NONE/- text/html 1408113182.816 0 192.168.1.2 TCP_DENIED/403 3797 GET http://bol.com/favicon.ico - HIER_NONE/- text/html 1408113354.249 0 192.168.1.2 TCP_DENIED/403 3633 CONNECT aus3.mozilla.org:443 - HIER_NONE/- text/html 1408113357.815 0 192.168.1.2 TCP_DENIED/403 3770 GET http://belgie.be/ - HIER_NONE/- text/html 1408113357.953 0 192.168.1.2 TCP_DENIED/403 3856 GET http://www.squid-cache.org/Artwork/SN.png - HIER_NONE/- text/html 1408113357.962 0 192.168.1.2 TCP_DENIED/403 3803 GET http://belgie.be/favicon.ico - HIER_NONE/- text/html 1408113357.986 0 192.168.1.2 TCP_DENIED/403 3803 GET http://belgie.be/favicon.ico - HIER_NONE/- text/html 1408113418.186 0 192.168.1.2 TCP_DENIED/403 3645 CONNECT fhr.data.mozilla.com:443 - HIER_NONE/- text/html 1408113431.909 0 192.168.1.2 TCP_DENIED/403 4359 POST http://safebrowsing.clients.google.com/safebrowsing/downloads? - HIER_NONE/- text/html 1408113451.650 0 192.168.1.2 TCP_DENIED/403 3779 GET http://nederland.nl/ - HIER_NONE/- text/html 1408113451.831 0 192.168.1.2 TCP_DENIED/403 3859 GET http://www.squid-cache.org/Artwork/SN.png - HIER |
Via google vind ik geen werkende oplossing, daarom dat ik hier mijn vraag lanceer.
Iemand die mij verder op weg kan zetten?