pfsense:squid:setup_completely
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:squid:setup_completely [2020/04/06 14:14] – peter | pfsense:squid:setup_completely [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 29: | Line 29: | ||
<code bash> | <code bash> | ||
- | openssl genrsa -out myProxykey.key 2048 | + | openssl genrsa -out myProxyCA.key 2048 |
</ | </ | ||
- | This will create an rsa key file named myProxykey.key that we use to sign our rootCA with in the next command for generating | + | This will create an rsa key file named myProxyCA.key that we use to sign the pem file we will generate next. |
Create a pem file signed with the key: | Create a pem file signed with the key: | ||
<code bash> | <code bash> | ||
- | openssl req -x509 -new -nodes -key myProxykey.key -sha256 -days 365 -out myProxyca.pem | + | openssl req -x509 -new -nodes -key myProxyCA.key -sha256 -days 365 -out myProxyCA.pem |
</ | </ | ||
- | This will prompt you to answer some questions to generate the needed | + | This will prompt you to answer some questions to generate the pem file: |
<code bash> | <code bash> | ||
Line 55: | Line 55: | ||
<code bash> | <code bash> | ||
- | myProxyca.pem | + | myProxyCA.pem |
- | myProxykey.key | + | myProxyCA.key |
</ | </ | ||
Line 65: | Line 65: | ||
* Descriptive Name: **SquidCA**. | * Descriptive Name: **SquidCA**. | ||
* Method: **Import an existing Certificate Authority**. | * Method: **Import an existing Certificate Authority**. | ||
- | * Certificate data: **Copy \ Paste the info from myProxyca.pem file**. | + | * Certificate data: **Copy \ Paste the info from myProxyCA.pem file**. |
- | * Certificate Private Key (optional): **Copy \ Paste the info from myProxykey.key file**. | + | * Certificate Private Key (optional): **Copy \ Paste the info from myProxyCA.key file**. |
* Serial for next certificate: | * Serial for next certificate: | ||
* Save and apply. | * Save and apply. | ||
Line 92: | Line 92: | ||
* Resolve DNS IPv4 First: **Checked**. | * Resolve DNS IPv4 First: **Checked**. | ||
+ | {{: | ||
==== Transparent Proxy Settings: ==== | ==== Transparent Proxy Settings: ==== | ||
Line 98: | Line 98: | ||
* Transparent Proxy Interface(s): | * Transparent Proxy Interface(s): | ||
+ | {{: | ||
==== SSL Man In the Middle Filtering ==== | ==== SSL Man In the Middle Filtering ==== | ||
Line 110: | Line 110: | ||
* Certificate Adapt: **Sets the "Not Before" | * Certificate Adapt: **Sets the "Not Before" | ||
+ | |||
+ | {{: | ||
==== Logging Settings ==== | ==== Logging Settings ==== | ||
Line 117: | Line 119: | ||
* Log Pages Denied by SquidGuard: **Not checked**. | * Log Pages Denied by SquidGuard: **Not checked**. | ||
+ | {{: | ||
==== Advanced Features ==== | ==== Advanced Features ==== | ||
Line 127: | Line 130: | ||
ssl_bump splice all | ssl_bump splice all | ||
</ | </ | ||
+ | |||
+ | |||
+ | {{: | ||
---- | ---- | ||
Line 149: | Line 155: | ||
* External Cache Managers: | * External Cache Managers: | ||
+ | {{: | ||
==== Squid Hard Disk Cache Settings ==== | ==== Squid Hard Disk Cache Settings ==== | ||
Line 157: | Line 164: | ||
* Hard Disk Cache Location: **/ | * Hard Disk Cache Location: **/ | ||
* Minimum Object Size: **0**. | * Minimum Object Size: **0**. | ||
- | * Maximum Object Size: **1024**. | + | * Maximum Object Size: **2048**. |
+ | {{: | ||
==== Squid Memory Cache Settings ==== | ==== Squid Memory Cache Settings ==== | ||
Line 167: | Line 174: | ||
+ | {{: | ||
==== Dynamic and Update Content ==== | ==== Dynamic and Update Content ==== | ||
* Cache Dynamic Content: **Checked**. | * Cache Dynamic Content: **Checked**. | ||
* Custom refresh_patterns: | * Custom refresh_patterns: | ||
+ | |||
+ | {{: | ||
---- | ---- | ||
Line 188: | Line 198: | ||
* Optional ClamAV Database Update Servers: **< | * Optional ClamAV Database Update Servers: **< | ||
+ | {{: | ||
---- | ---- | ||
Line 202: | Line 212: | ||
* Enable: **Checked**. | * Enable: **Checked**. | ||
+ | {{: | ||
==== LDAP Options ==== | ==== LDAP Options ==== | ||
Line 211: | Line 222: | ||
* Strip Kerberos Realm: **Not checked**. | * Strip Kerberos Realm: **Not checked**. | ||
* LDAP Version: **Version 3**. | * LDAP Version: **Version 3**. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== Logging Options ==== | ||
+ | |||
+ | |||
+ | * Enable GUI log: **Checked**. | ||
+ | * Enable log: **Checked**. | ||
+ | * Enable log rotation: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== Miscellaneous ==== | ||
+ | |||
+ | * Clean Advertising: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== Blacklist options ==== | ||
+ | |||
+ | * Blacklist: | ||
+ | * Blacklist proxy: **< | ||
+ | * Blacklist URL: **http:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | |||
pfsense/squid/setup_completely.1586182466.txt.gz · Last modified: 2020/07/15 09:30 (external edit)