LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2008, 05:27 AM   #1
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
Proxy Server


Hai

I using one squid proxy server. my clients all are connected through this server. port no is 3128.my need is when client remove lansettings in system then network automatically disconnect. is there any option is in squid.conf. pls tel me . or any other way
and one more thing is thunderbird not working in my squid proxy server.

pls tel me some steps

bye
 
Old 12-11-2008, 05:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you want your clients machines to drop the network connection if they change any settings? what's that got to do with a proxy server? Additionally thunderbird would not use squid for imap / pop3 / smtp mail services, squid is an http / ftp proxy only.
 
Old 12-11-2008, 06:04 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, I use the squid proxy server too.

The ip for the ethernet connection (for your clients) on the server will be

listed in /etc/squid/squid.conf

Code:
http_port 192.168.0.2:3128 transparent
On my system this is eth0,

if I change the config (ip) for eth0 it will affect squid,

unless I change squid as well.

What ports does thunderbird require?

In squid.conf use acl Safe_ports

example...
Code:
acl Safe_ports port 80          # http
You may need to change the port settings in your firewall too.

I use an iptable script, Forwarding Ports, or maybe the defalt rule will do anyway.

Cheers, Glenn

ps, this is a good page...
http://www.linuxhomenetworking.com/w...ess_with_Squid
 
Old 12-12-2008, 01:07 AM   #4
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Original Poster
Rep: Reputation: 15
squid

Quote:
Originally Posted by GlennsPref View Post
Hi, I use the squid proxy server too.

The ip for the ethernet connection (for your clients) on the server will be

listed in /etc/squid/squid.conf

Code:
http_port 192.168.0.2:3128 transparent
On my system this is eth0,

if I change the config (ip) for eth0 it will affect squid,

unless I change squid as well.

What ports does thunderbird require?

In squid.conf use acl Safe_ports

example...
Code:
acl Safe_ports port 80          # http
You may need to change the port settings in your firewall too.

I use an iptable script, Forwarding Ports, or maybe the defalt rule will do anyway.

Cheers, Glenn

ps, this is a good page...
http://www.linuxhomenetworking.com/w...ess_with_Squid



Dear Sir

I have one doubt. ihave two proxy servers. my clients are connected through one proxy servers. suppose one proxy servers is down then automatically net working with another squid server . pls tel me how to make this.
Thank u

Bye
 
Old 12-12-2008, 03:03 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
I would suggest you should use a proxy.pac script and just list both proxy addresses in there in order to push the failover back to the clients.
 
Old 12-12-2008, 03:41 AM   #6
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Original Poster
Rep: Reputation: 15
squid

Quote:
Originally Posted by acid_kewpie View Post
I would suggest you should use a proxy.pac script and just list both proxy addresses in there in order to push the failover back to the clients.

Dear Sir

Thank u for u r Reply

pls tel me detail about that proxy.pac and how i use this one or give me some documents about that.
I am using centos 4 and 5.
Thank u
Bye
 
Old 12-12-2008, 03:46 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
just google for proxy.pac and you'll get plenty of information.
 
Old 12-12-2008, 04:29 AM   #8
saran_sai
Member
 
Registered: Aug 2008
Posts: 93
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
just google for proxy.pac and you'll get plenty of information.


Dear Sir

Thank u very much .now i am configuring proxy.pac.
thank u
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 02:03 AM
howto join IRC server using proxy server in irssi? kaplis Linux - Software 2 08-01-2006 05:00 PM
configure redhat enterprise server 4 as Router and Proxy server amdattani Linux - Networking 0 06-15-2006 06:50 AM
Best info to setup a ftp server behind the proxy server. bruse Linux - Networking 1 12-14-2005 05:13 PM


All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration