Brought on the 7th Dec @1800hrs.
Spend next 6hrs configuring it.
Finally I get the whole idea what was bridging a network.
Spend next 6hrs configuring it.
Finally I get the whole idea what was bridging a network.
Life has not been easy lately. Still trying strike a balance between work and health. Just surviving to can see another day.
To block websites
https_port 3129 transparent key=/etc/squid3/ssl/squid3.key cert=/etc/squid3/ssl/squid3.crt
sudo mkdir /etc/squid3/ssl cd /etc/squid3/ssl/ sudo openssl genrsa -des3 -out squid3.key 1024 sudo openssl req -new -key squid3.key -out squid3.csr sudo cp -p squid3.key squid3.key.org sudo openssl rsa -in squid3.key.org -out squid3.key sudo openssl x509 -req -days 365 -in squid3.csr -signkey squid3.key -out squid3.crt
https setup (2)
openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout myCA.pem -out myCA.pem openssl x509 -in myCA.pem -outform DER -out myCA.der
To use the Malware Block List on a Squid proxy to block user access to URLs that contain Malware you need to perform the following simple steps: * Download the block list: wget -O - http://malware.hiperlinks.com.br/cgi/submit?action=list_squid > malware_block_list.txt * Create an ACL in the main configuration file (squid.conf) pointing to a file which will have the list URLs: acl malware_block_list url_regex -i "/etc/squid/malware_block_list.txt" * Enable the ACL created previously: http_access deny malware_block_list deny_info http://malware.hiperlinks.com.br/denied.shtml malware_block_list * Force Squid reconfiguration: squid -k reconfigure
awk '!/^\ *#/&&(length > 0)' /etc/squid3/squid.conf