I have debian 7 and am trying to update to debian 8.
The box has internet access, but i want it to use another internet connection (that i have on my windows desktop) because it's faster.
So i installed squid 3.5 on windows, and used the following line in the debian box:
export http_proxy=http://192.168.x.x:3128
used lynx to visit a site and it's working, and i see the squid logs just fine.
However, when using apt-get update i get all bunch of 503 service unavailable errors. The squid logs show up the following:
1465309775.842 0 192.168.x.x TCP_MISS/503 4133 GET
http://security.debian.org/dists/jes...ces.diff/Index - HIER_NONE/- text/html
Since apt-get uses http on port 80, it shouldn't be denied by squid.
Here's my squid config:
Code:
acl localnet src 192.168.0.0/16
acl CONNECT method CONNECT
http_access allow localhost manager
http_access deny manager
http_access allow localnet
http_access allow localhost
http_port 3128
coredump_dir /var/cache/squid
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
dns_nameservers 8.8.8.8 208.67.222.222
dns_v4_first on
max_filedescriptors 3200
Anyone has an idea on what to do?