Synopsis
This parameter allows the user to define the address on which Squid will listen for client’s http requests. This is a required parameter, and there are no defaults.
Without this configuration, Squid will never start.
Arguments
| port |
Port to which Squid will bind the socket |
| hostname |
hostname to which Squid will bind the socket |
| ip_address |
ip_address to which Squid will bind the socket |
When a hostname or IP address is specified (as shown in variations 2 and 3 above), Squid binds the socket to that specific address.
Note: The http_port parameter may be specified multiple times, with different addresses each time. This will cause Squid to listen on multiple ports.
Options are arguments that further control the behavior of the Squid proxy. The supported values are explained in the table below:
| Options |
Functions |
| transparent |
Support for transparent interception of outgoing requests without browser settings |
| accel |
Accelerator mode. Also needs at least one of vhost/vport/defaultsite. |
| defaultsite= |
Main web site name for accelerators. Implies accel. |
vhost
|
Accelerator using the Host header for virtual domain support. |
vport
|
Accelerator using the Host header for virtual domain support. |
| vport= |
As above, but uses specified port number rather than the http_port number. |
| urlgroup= |
Default urlgroup to mark requests with. |
| protocol= |
Protocol to reconstruct accelerated requests with. Defaults to http. |
| no-connection-auth |
Prevent forwarding of Microsoft connection oriented authentication. |
| tproxy |
Support Linux TPROXY for spoofing outgoing connections using the client IP address. |