Sponsored Content
Special Forums IP Networking Proxy Server How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access? Post 302932345 by kwliew999 on Wednesday 21st of January 2015 02:58:16 AM
Old 01-21-2015
Tools How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access?

Dear all experts here,
Smilie
I would like to install a proxy server on Linux server to perform solely to control the access of Web server.
In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server.
I would like know how can I set the configuration to perform the filtering of IP to access my Web server?

Thanks in advance for any help.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

2. UNIX for Advanced & Expert Users

Access Control Lists for Linux (Redhat 7.2)

Hi, Does anyone know if Redhat 7.2 allows for file access control lists as you can in Solaris ? And if so, can you give me the basic command as I'm having trouble finding documentation on this. Thanx (1 Reply)
Discussion started by: ianf
1 Replies

3. UNIX for Dummies Questions & Answers

Ways to Access Files on Unix Server via Web

Hi all! I'm a web developer with a question. We have a contractor that is working on a project that requires the user to access a ton of files on the clients Unix server. He has plans to built a VB interface for on site windows users to access those files and wants us to develop a web based... (4 Replies)
Discussion started by: Imhotep1963
4 Replies

4. UNIX for Advanced & Expert Users

remote web server access (apache)

Hi, I have web server (apache) installed in server-1 and i want to view the web pages from diferent servers also while the web server is running only in one server ....(all the servers are connected to office LAN) right now all the servers have apache running......and CPU utilzation is at its... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

5. UNIX for Advanced & Expert Users

Access to particular IP's from the solaris/LINUX server

Hi All, I have a scenario here where in I need to allow a user from the server(Solaris or LINUX) to be able to ssh to a particular set of IP's. Eg:user1 should be able to access IP's 10.26.32.2,10.26.32.7,10.26.32.9 user2 should be able to access IP's 10.1.1.2,10.1.1.4(just an example) ... (2 Replies)
Discussion started by: pk123
2 Replies

6. UNIX and Linux Applications

How to redirect to squid login web page when internet access

Hi , I am new user. As you know when acl is defined in /etc/squid/squid.conf file according to its http_access users are able to access internet. Before that .htaccess asks them to access internet. It is fine. I saw in some customised linux servers in place of .htaccess login ,html web page... (1 Reply)
Discussion started by: sandeepvson
1 Replies

7. Homework & Coursework Questions

Parse a Web Server Access Log

1. The problem statement, all variables and given/known data: Write a parser for a web server access log that will provide the statistics outlined below. Remember to format your output in a neat form. You may complete this assignment with one Awk script or a shell script using a combination of... (6 Replies)
Discussion started by: codyhazelwood
6 Replies

8. IP Networking

Squid vs iptables = no Squid access.log?

Hello, I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine. I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies
squidclient(1)						      General Commands Manual						    squidclient(1)

NAME
squidclient -- a simple HTTP web client SYNOPSIS
squidclient [-arsv][-A string ][-g count] [-h remote-host] [-H 'string'] [-i IMS] [-I ping-interval] [-j 'Host-header'] [-l local-host] [-m method] [-p port] [-P file] [-t count] [-T timeout] [-u proxy-user] [-U www-user] [-V version] [-w proxy-password] [-W www-password] url DESCRIPTION
squidclient is a tool providing a command line interface for retrieving URLs. Designed for testing any HTTP 0.9, 1.0, or 1.1 web server or proxy. This tool can be combined with scripts to perform any basic HTTP operation. Some additional features for access to the Squid proxy object cache and management information are provided. OPTIONS
-a Do NOT include Accept: header. -A 'string' Send string as User-Agent: header. To omit the header completely set string to empty (''). -g count Ping mode, perform count iterations (0 to loop until interrupted). -h host Retrieve URL from cache on hostname. Default is localhost. -H 'string' Extra headers to send. Use ' ' for new lines. -i time If-Modified-Since time (in Epoch seconds). -I interval Ping interval in seconds (default 1 second). -j hosthdr Host header content -l host Specify a local IP address to bind to. Default is none. -m method Request method, default is GET. Squid also supports a non-standard method called PURGE. You can use that to purge a specific URL from the cache. You need to have purge access setup in squid.conf similar to manager access. Here is an example: acl purge method PURGE http_access deny purge !localhost -p port Port number of cache. Default is 3128. -P file PUT request. Using the named file. -r Force cache to reload URL. -s Silent. Do not print data to stdout. -t count Trace count cache-hops -T timeout Timeout value (seconds) for read/write operations. -u user Proxy authentication username -U user WWW authentication username -v Verbose. Print outgoing message to stderr. -w password Proxy authentication password -W password WWW authentication password -V version HTTP Version. Use '-' for HTTP/0.9 omitted case SEE ALSO
cachemgr.cgi(8), squid(8) AUTHOR
Derived from Harvest. Further developed by by numerous individuals from the internet community. Development is led by Duane Wessels of the National Laboratory for Applied Network Research and funded by the National Science Foundation. Squid Web Client Tool squidclient(1)
All times are GMT -4. The time now is 02:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy