/usr/local/pkg/squid.inc
- http://www.pfsense.org/packages/config/squid.inc
- http://www.pfsense.org/packages/config/squid_cache.xml
- http://www.pfsense.org/packages/config/squid_nac.xml
- http://www.pfsense.org/packages/config/squid_ng.xml
- http://www.pfsense.org/packages/config/squid_traffic.xml
- http://www.pfsense.org/packages/config/squid_upstream.xml
- http://www.pfsense.org/packages/config/squid_auth.xml
- http://www.pfsense.org/packages/config/squid_users.xml
- http://www.pfsense.org/packages/config/proxy_monitor.sh
/usr/local/etc/rc.d/
0755
squid
Web proxy cache.
squid.sh
squid
squid
Proxy server: General settings
General settings
/pkg_edit.php?xml=squid.xml&id=0
Upstream proxy
/pkg_edit.php?xml=squid_upstream.xml&id=0
Cache management
/pkg_edit.php?xml=squid_cache.xml&id=0
Access control
/pkg_edit.php?xml=squid_nac.xml&id=0
Traffic management
/pkg_edit.php?xml=squid_traffic.xml&id=0
Auth settings
/pkg_edit.php?xml=squid_auth.xml&id=0
Local users
/pkg.php?xml=squid_users.xml
active_interface
Proxy interface
The interface(s) the proxy server will bind to.
lan
interfaces_selection
allow_interface
Allow users on interface
If this field is checked, the users connected to the interface selected in the 'Proxy interface' field will be allowed to use the proxy, i.e., there will be no need to add the interface's subnet to the list of allowed subnets. This is just a shortcut.
on
checkbox
transparent_proxy
Transparent proxy
If transparent mode is enabled, all requests for destination port 80 will be forwarded to the proxy server without any additional configuration necessary.
checkbox
log_enabled
Enabled logging
This will enable the access log. Don't switch this on if you don't have much disk space left.
log_query_terms,log_user_agents
checkbox
proxy_port
Proxy port
This is the port the proxy server will listen on.
input
5
3128
icp_port
ICP port
This is the port the Proxy Server will send and receive ICP queries to and from neighbor caches. Leave this blank if you don't want the proxy server to communicate with neighbor caches through ICP.
input
5
visible_hostname
Visible hostname
This is the URL to be displayed in proxy server error messages.
localhost
input
60
admin_email
Administrator email
This is the email address displayed in error messages to the users.
admin@localhost
input
60
Language
error_language
Select the language in which the proxy server will display error messages to users.
English
select
squid_resync();
squid_before_form_general(&$pkg);
squid_validate_general($_POST, &$input_errors);
squid_resync();
exec("/bin/rm -f /usr/local/etc/rc.d/squid");
update_status("Checking Squid cache... One moment please...");
update_output_window("This operation may take quite some time, please be patient. Do not press stop or attempt to navigate away from this page during this process.");
squid_install_command();
squid_resync();
exec("/bin/rm -f /usr/local/etc/rc.d/squid");
squid_deinstall_command();
exec("/bin/rm -f /usr/local/etc/rc.d/squid*");