Computing.Net > Forums > Linux > squid server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

squid server

Reply to Message Icon

Name: lingam_india
Date: August 8, 2009 at 22:19:10 Pacific
OS: Linux
Subcategory: Configurations
Comment:

I am using redhat linux server edition 5.3, i want make this server has a file server, as well as proxy and outlook express for all my window clients

I was configured samba server,



Sponsored Link
Ads by Google

Response Number 1
Name: paulsep
Date: August 9, 2009 at 05:55:58 Pacific
Reply:

And the question is ?

Please send a reply, if you solved the problem !!!


0

Response Number 2
Name: lingam_india
Date: August 10, 2009 at 05:47:38 Pacific
Reply:

how to configure squid in linux server and what are setting to be done in windows client system


0

Response Number 3
Name: paulsep
Date: August 10, 2009 at 07:45:36 Pacific
Reply:

Nearly each setting for Squid and it's purpose is described in the squid.conf file.
So read the squid.conf file and change the settings for your needs.

On the windows clients, that should use squid as an internet proxy, simply configure the proxy settings of the browser to point to the ip address of the pc, where squid is running on and the port, where squid uses port 3128 by default.

Please send a reply, if you solved the problem !!!


0

Response Number 4
Name: lingam_india
Date: August 12, 2009 at 04:44:54 Pacific
Reply:

I did the following settings but it is not working.

eth0 connected in modem
IP SETTINGS FOR eth0
IP:192.168.0.2
SUBNET:255.255.255.0
GATEWAY:192.168.0.1

eth1 connected to MY NETWORK

IP SETTINGS FOR eth1
IP:192.168.1.100
SUBNET:255.255.255.0
GATEWAY:192.168.1.100

changed the http_access 8080

in client side

internet settings proxy address is 192.168.1.100
port no is 8080

I am fresh in linux, guide me how to do?


0

Response Number 5
Name: paulsep
Date: August 12, 2009 at 06:32:21 Pacific
Reply:

Hmm, that looks odd.
Could you please post a traceroute to e.g. google.com.
I guess, in this configuration, you have no internet access at all.
Show me your traceroute and we will see.

Please send a reply, if you solved the problem !!!


0

Related Posts

See More



Response Number 6
Name: zeshan388
Date: August 13, 2009 at 02:49:10 Pacific
Reply:

can u tell me what is error on client side. ?

is error page generated by squid or internet explorer.?
if error page is genrated by squid its means you did not give access to your clients in squid.conf file


simply search in squid.conf and uncomment these two lines to give access

#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks


0

Response Number 7
Name: lingam_india
Date: August 13, 2009 at 21:51:30 Pacific
Reply:

Error in client side is page cannot be displayed

I was tried to ping the server, it is working but when i am using internet explorer for browsing "PAGE CANNOT BE DISPLAYED" error showing.

i was enabled the following 2 lines
acl our_networks src 192.168.1.0/24 192.168.2.0/24
http_access allow our_networks
but the same result


0

Response Number 8
Name: lingam_india
Date: August 14, 2009 at 03:29:23 Pacific
Reply:

I was configured squid successfully it is working but web accessing only possible in client side, From client they are not able receive mails in outlook express.

The main problem is bandwidth. Internet through proxy is very slow speed is 46 Kbps. I tried directly in windows machine is working fast the speed almost 1 MB

1}. how to block web access to the particular system.
2). how to increase bandwidth speed.

Please send a reply, if you know solution for my problem???


0

Response Number 9
Name: paulsep
Date: August 14, 2009 at 05:59:31 Pacific
Reply:

To be honest, I didn't understand your configuration.

Why does eth0 has a private ip address and a gateway address of 192.168.0.1?
I guess, the eth0 is connected to the modem, so that the interface eth0 should get the public ip address and a public gateway address from your ISP, maybe via dhcp or a static ip if you got a range of public IPs from your ISP.

eth1 is obviously your internal interface.
Why does eth1 has a gateway address to itself, 192.168.1.100?
The gateway is the address, where to forward requests, that can not be accessed locally and gets normally forwarded to the gateway of your ISP.

Could you explain your configuration?

Please send a reply, if you solved the problem !!!


0

Response Number 10
Name: jefro
Date: August 14, 2009 at 19:17:04 Pacific
Reply:

You paid for service why not ask Red Hat????


Basic Subscription Web support, 2 business day response, unlimited incidents

Playing to the angels
Les Paul (1915-2009)


0

Response Number 11
Name: lingam_india
Date: August 18, 2009 at 04:24:38 Pacific
Reply:

Squid configuration almost over. Now i am able to access website through squid server. But the major problem is bandwidth is very slow. Normally the bandwidth is above 1MB after configuring the squid the bandwidth is 46Kbps in client system(Windows).

I am already disabled the SeLinux but still the bandwidth is very low.

I have doubt in ip address configuration

Modem ip is 192.16.0.1

eth0(motherboard card) connected to modem
IP: 192.168.0.2
Subnet: 255.255.255.0
Default Gateway: 192.168.0.1

eth1(External card) connected to local network
IP : 192.168.1.1
Subnet: 255.255.255.0
Default gateway: 192.168.0.2

is it correct or not?


I didn't purchased Redhat because we are first time using server in our office before going for purchase edition. We should learning little bit in linux that is reason we were using free edition.


0

Response Number 12
Name: paulsep
Date: August 18, 2009 at 08:30:31 Pacific
Reply:

If it is only a modem, it has no ip address and works in bridge mode.
So the eth0 interface or the virtual interface, which is normally build, gets the public ip address and gateway directly from your ISP and did not need a private ip.
Eth1 is ok but also needs no default gateway, because both interfaces are in the same machine.
Instead you have to enable ip forwarding in the configuration.

Please send a reply, if you solved the problem !!!


0

Response Number 13
Name: jefro
Date: August 18, 2009 at 18:26:06 Pacific
Reply:

Never heard of a free edition.

Playing to the angels
Les Paul (1915-2009)


0

Response Number 14
Name: lingam_india
Date: September 2, 2009 at 03:05:16 Pacific
Reply:

I configured linux proxy server,

How to know the browsed details in client(windows xp) at server.


0

Response Number 15
Name: paulsep
Date: September 2, 2009 at 10:02:48 Pacific
Reply:

In the internet browsers proxy settings, put in the ip address of your squid server. The port, if unchanged, by default is 3128.
Put in the settings for HTTP, FTP and SSL.

Please send a reply, if you solved the problem !!!


0

Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: squid server

Windows 2000 ignores Squid proxy www.computing.net/answers/linux/windows-2000-ignores-squid-proxy/3957.html

Squid stuffs www.computing.net/answers/linux/squid-stuffs/15058.html

SMTP Mail Server www.computing.net/answers/linux/smtp-mail-server/314.html