Fedora 15
Sponsored Link

Configure as a Reverse Proxy
2011/05/28
 
Configure Squid as a reverse proxy server.
[1] Configure Squid
[root@lan ~]#
vi /etc/squid/squid.conf
# near line 58: add (allow all http access)

http_access allow all
# line 63: specify Web server's IP address which listens requests

http_port
80 defaultsite=10.0.0.31
# add at the last line

cache_peer 10.0.0.31 parent 80 0 no-query originserver
[root@lan ~]#
/etc/rc.d/init.d/squid restart

Restarting squid (via systemctl): Stopping squid: ................[ OK ]
Starting squid: .[ OK ]
[ OK ]
[2] Change Settings of DNS or router if needed, and access to verify settings.
 
Matched Content
 
Tweet