squidremote0.4.5Proxy Server: Remote Proxy Settings/usr/local/pkg/squid.incGeneral/pkg_edit.php?xml=squid.xml&id=0Remote Cache/pkg.php?xml=squid_upstream.xmlLocal Cache/pkg_edit.php?xml=squid_cache.xml&id=0Antivirus/pkg_edit.php?xml=squid_antivirus.xml&id=0ACLs/pkg_edit.php?xml=squid_nac.xml&id=0Traffic Mgmt/pkg_edit.php?xml=squid_traffic.xml&id=0Authentication/pkg_edit.php?xml=squid_auth.xml&id=0Users/pkg.php?xml=squid_users.xmlReal time/squid_monitor.phpSync/pkg_edit.php?xml=squid_sync.xmlStatusenableNameproxyaddrPortproxyportICPicpportPeer TypehierarchyMethodpeermethodGeneral SettingslisttopicEnableenableThis option enables the proxy server to forward requests to an upstream/neighbor server.checkboxHostnameproxyaddrEnter the IP address or host name of the upstream proxy here.input35NameproxynameNote: Name is required if you have multiple peers on the same host but different ports.
]]>
input35TCP PortproxyportEnter the port to use to connect to the upstream proxy here.input53128General Options (Allow Miss/No Tproxy/Proxy Only)allowmiss
allow-miss - Disable Squid's use of only-if-cached when forwarding requests to siblings. This is primarily useful when icp_hit_stale is used by the sibling. no-tproxy - Do not use the client-spoof TPROXY support when forwarding requests to this peer. Use normal address selection instead. proxy-only - Objects fetched from the peer will not be stored locally.
Note: Use CTRL + click to select multiple options.
]]>
selectallow-miss4Peer Settingslisttopicinfo
cache_peer directive documentation for detailed description of the settings below.
]]>
HierarchyhierarchySpecify remote caches hierarchy.selectparentSelect Methodpeermethod
Please see cache_peer directive documentation for details.
default - Parent cache which can be used as a "last-resort" if a peer cannot be located by any of the peer-selection methods. round-robin - Load-Balance parents which should be used in a round-robin fashion in the absence of any ICP queries. weighted-round-robin - Load-Balance parents which should be used in a round-robin fashion with the frequency of each parent being based on the round trip time. carp - Load-Balance parents which should be used as a CARP array. userhash -Load-Balance parents based on the client proxy_auth or ident username. sourcehash - Load-balance parents based on the client source IP. multicast-siblings - To be used only for cache peers of type "multicast".
]]>
selectround-robinWeightweightNote: The weight must be an integer; larger weights are favored more.
Default: 1
]]>
input51Basetimebasetime
It is subtracted before division by weight in calculating which parent to fetch from. If the RTT is less than the base time, the RTT is set to a minimal value.
]]>
input51TTLttl
Note: Because we don't accept ICP replies from random hosts, you must configure other group members as peers with the 'multicast-responder' option.
]]>
input51No DelaynodelaycheckboxICP SettingslisttopicICP PorticpportHint: Use port number 7 to disable ICP communication between the proxies.
]]>
input57ICP Optionsicpoptions
Note: You MUST also set 'ICP Port' explicitly when using these options. The defaults will prevent peer traffic using ICP.
Please see cache_peer directive documentation for details.
no-query - Disable ICP queries to this neighbor. multicast-responder - Indicates the named peer is a member of a multicast group. closest-only - Indicates that, for ICP_OP_MISS replies, we'll only forward CLOSEST_PARENT_MISSes and never FIRST_PARENT_MISSes. background-ping - To only send ICP queries to this neighbor infrequently.
]]>
selectno-queryAuth SettingslisttopicUsernameusernameIf the upstream proxy requires a username, specify it here.inputPasswordpasswordIf the upstream proxy requires a password, specify it here.passwordAuthentication Optionsauthoption
cache_peer directive documentation for details.
login=user:password - If this is a personal/workgroup proxy and your parent requires proxy authentication. login=PASSTHRU - Send login details received from client to this peer. Authentication is not required by Squid for this to work. login=PASS - Send login details received from client to this peer. Authentication is not required by this option. login=*:password - Send the username to the upstream cache, but with a fixed password. login=NEGOTIATE - If this is a personal/workgroup proxy and your parent requires a secure proxy authentication. login=NEGOTIATE:principal_name - If this is a personal/workgroup proxy and your parent requires a secure proxy authentication. connection-auth=on - Peer does support Microsoft connection oriented authentication, and any such challenges received from there should be ignored. connection-auth=off - Peer does not support Microsoft connection oriented authentication, and any such challenges received from there should be ignored.
]]>
selectlogin=*:password
squid_validate_upstream($_POST, $input_errors);
squid_resync();