squidupstream
Services: Proxy Server -> Upstream Proxy Settings
installedpackages->package->squidupstream->configuration->settings
/pkg_edit.php?xml=squid_upstream.xml&id=0
General Settings
/pkg_edit.php?xml=squid_ng.xml&id=0
Upstream Proxy
/pkg_edit.php?xml=squid_upstream.xml&id=0
Cache Mgmt
/pkg_edit.php?xml=squid_cache.xml&id=0
Network Access Control
/pkg_edit.php?xml=squid_nac.xml&id=0
Traffic Mgmt
/pkg_edit.php?xml=squid_traffic.xml&id=0
Auth Settings
/pkg_edit.php?xml=squid_auth.xml&id=0
Extended Auth Settings
/pkg_edit.php?xml=squid_extauth.xml&id=0
Proxy Address Forwarding
proxy_forwarding
This option will enable the Proxy Server to forward requests to an upstream server.
checkbox
Client IP Address Forwarding
client_ip_forwarding
This option will enable the client IP address to be forwarded to the upstream proxy server.
checkbox
Username Forwarding
user_forwarding
This option will enable the username to be forwarded to the upstream proxy server.
checkbox
Upstream Proxy Hostname
upstream_proxy
Enter the IP address or host name of the upstream proxy server.
input
number
Upstream Proxy Port
upstream_proxy_port
Enter the port to use with the upstream proxy server. If no port is specified, the default is set to port "80".
4
input
number
Upstream Username
upstream_username
If the upstream proxy requires a username, specify it here.
input
Upstream Password
upstream_password
If the upstream proxy server requires a password with the above username, specify it here.
password
require_once("/usr/local/pkg/squid_ng.inc");
global_write_squid_config();
mwexec("/usr/local/sbin/squid -k reconfigure");