- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Squid newbie
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 08:23 PM
08-26-2005 08:23 PM
Squid newbie
i m new to squid....i m trying to implement it on my red hat 9....just to check its features...actually my sole purpose is url blocking...i first want to test it on my system...then will apply on the server.but i m quite new to such stuff with not much clear knowledge about proxy stuff.can ne one help me in configuring it.i want it quite simple....i thing i have already installed it.my confo file is attached along with.can ne one plz help me with that.
thanx in advance
Shobhit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2005 10:32 PM
08-27-2005 10:32 PM
Re: Squid newbie
links:
http://aplawrence.com/Unixart/squidguard.html
http://squidguard.mesd.k12.or.us/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2005 10:56 PM
08-27-2005 10:56 PM
Re: Squid newbie
Here is the steps , may help you,
1. Configuration file is:
/etc/squid/squid.conf
Squid uses the configuration file squid.conf. It is usually located in the /etc/squid directory. Access through the proxy can be given by individual IP addresses or by a subnet of IP addresses.
In squid.conf search for the default access control lists(acl) and add the following line below them:
acl mynetwork src 192.168.1.0/255.255.255.0 (for subnet)
acl mynetwork src 192.168.1.10/255.255.255.0 (for individual IP)
Then add the access control list named "mynetwork" to the http_access list with the following line:
http_access allow mynetwork
The default port for the proxy is 3128. Uncomment the following line and replace 3128 with the desired port :
http_port 3128
---------------------------------------------------------------------------------------
2. To start and stop and restart Squid as follows.:
Assuming you have the runlevel scripts installed you can use the following commands as root:
Start squid /etc/rc.d/init.d/squid start
Restart squid /etc/rc.d/init.d/squid restart
Stop squid /etc/rc.d/init.d/squid stop
or issue the following TWO commands as root:
squid -z
squid
or you can configure squid to start at boot time using your runlevels.
---------------------------------------------------------------------------------------
3. To configure squid client:
To configure any application including a web browser to use squid, modify the proxy setting with the IP address of the squid server and the port number (default port 3128).
----------------------------------------------------------------------------------------
Also check the attached doc , may help ,
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2005 01:18 AM
08-28-2005 01:18 AM
Re: Squid newbie
Shobhit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2005 07:18 PM
08-28-2005 07:18 PM
Re: Squid newbie
opened the squid conf file on vi.....made some changes u told as such but it is not working......actally i made many changes from yesterday in the conf file seeing various tutorials...now if i want to start back from the scrap...then it is difficult.....Raj...i really need ur help...right now i m just trying to implement squid to block certain sites on my system...i dont want nething else right now....after editing the confo file....itry using squid start command as u mentioned...but it says command not found..can u plz help in a bit elobrate fashion plz.....thanx and waiting for ur response...i even tried ur attached document....dooing that i messed up with it fully...thanx in advance....
Shobhit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 12:50 AM
08-29-2005 12:50 AM
Re: Squid newbie
http://www.brennan.id.au/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 01:09 AM
08-29-2005 01:09 AM
Re: Squid newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2005 12:27 AM
08-31-2005 12:27 AM
Re: Squid newbie
You can run the # squid start , command from absolute path , ie /etc/rc.d/init.d
If still not able to find it , do a find, the script must be there to start the squid server.
# find / -name squid -print
hope this will help to locate the error,
Raj.
----