Ubuntu 13.04
Sponsored Link

Configure as a Reverse Proxy2013/05/12

 
Configure Squid as a Reverse Proxy
[1] Configure Squid
root@lan:~#
vi /etc/squid3/squid.conf
# line 1136: specify web server's IP address for backend

http_port
80 defaultsite=10.0.0.31
# line 1950: add

cache_peer 10.0.0.31 parent 80 0 no-query originserver
# near line 842: add ( allow http all )

http_access allow all
root@lan:~#
initctl restart squid3

squid3 start/running, process 2708
[2] Change Settings of DNS or router if needed, and access to make sure the settings are enabled.
Matched Content