squid proxy error

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
d4rkdionzz
Posts: 9
Joined: 19 Dec 2011, 19:21
Location: Malang,Indonesia

squid proxy error

Postby d4rkdionzz » 27 Mar 2013, 17:44

permisi, saya punya VPS yng saya jadikan proxy server (pakai webmin auth). install berjalan mulus, tetapi ketika saya coba... bisa mengakses https tp di denied pada saat mengakses http kira" salahnya dimana y?

ini untuk squid3 conf
Tampilkan
http_port 8080

auth_param basic program /etc/webmin/squid/squid-auth.pl /etc/webmin/squid/users
auth_param basic children 5
auth_param basic credentialsttl 2 hour
auth_param basic realm Squid proxy- Must Login!

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
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

http_access allow manager localhost
http_access deny manager

# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

http_access allow localhost

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
# example lin deb packages
#refresh_pattern (\.deb|\.udeb)$ 129600 100% 129600
refresh_pattern . 0 20% 4320

cache_effective_user proxy


cache_effective_group proxy
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users


mohon bantuannya para master disini
Last edited by d4rkdionzz on 27 Feb 2016, 21:53, edited 1 time in total.
Reason: biar gk pedas
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid proxy error

Postby q_p » 27 Mar 2013, 18:08

Waduhh ... mataku pegel mas bacanya :D
Tolong diedit, sisakan yang "uncomment" saja
plis ..
User avatar
d4rkdionzz
Posts: 9
Joined: 19 Dec 2011, 19:21
Location: Malang,Indonesia

Re: squid proxy error

Postby d4rkdionzz » 27 Mar 2013, 19:39

sudah boss....
User avatar
d4rkdionzz
Posts: 9
Joined: 19 Dec 2011, 19:21
Location: Malang,Indonesia

Re: squid proxy error

Postby d4rkdionzz » 28 Mar 2013, 12:03

acl users src 192.168.0.0/22
acl ncsausers proxy_auth REQUIRED

http_access allow all ncsausers
http_access allow users #(acl for your src network)
http_access deny all

nah yng dibold itu maksudnya gimn? kan ane makai VPS...
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: squid proxy error

Postby q_p » 28 Mar 2013, 13:01

d4rkdionzz wrote:acl users src 192.168.0.0/22
acl ncsausers proxy_auth REQUIRED

http_access allow all ncsausers
http_access allow users #(acl for your src network)
http_access deny all

nah yng dibold itu maksudnya gimn? kan ane makai VPS...


Sepertinya harus membuat user + passwor nsca :)

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 25 guests