Wednesday 28 December 2011

WEB PROXY

WEB PROXY
PACKAGES NEEDED FOR CONFIGURATION
squid
IF THE PACKAGES ARE NOT AVAILABLE INSTALL THROUGH YUM INSTALLER
yum install squid
THE MAIN CONFIGURATION CAN BE EDITED AS FOLLOWS
vim /etc/squid/squid.conf
http_port 3128
SEARCH FOR THE WORD /OUR_NETWORKS, THEN ENTER THE FOLLOWING LINES
acl example src 192.168.0.0/255.255.255.0
http_access allow example
You can now refer to this network as "example" elsewhere in the configuration file.
src means that the IP specified is the source Ip(s) for this acl
DAEMON SERVICES SHOULD BE STARTED AND ENABLED AFTER REBOOT
service squid start/restart/reload
chkconfig squid on
To set the proxy settings in Firefox, navigate to Edit->Preferences. In the General settings,
click on the Connection Settings... button. Click the Manual proxy configuration radio button.
Add localhost in the HTTP Proxy: box, and 3128 in the Port: box. Click OK to accept the
changes.
Try accessing a web page somewhere.

1 comment:

  1. sir., i have one doubt in oracle 11g r2.

    i have installed in OEL 5.5. my oracle connection is too slow when trying to connect DB.

    this may be a network problem.. how can i find the problem? any clue?

    ReplyDelete