LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2008, 12:42 PM   #1
izghitu
Member
 
Registered: Oct 2005
Location: localhost.localdomain
Distribution: CentOS
Posts: 109

Rep: Reputation: 16
squid question


Hi,

I have CentOS 5 and squid-2.6.STABLE16-2

I have 3 IPs on the server

1.1.1.1
1.1.1.2
1.1.1.3

If I put: http_port 33
the squid LISTENs on all IPs. If I connect to the proxy via 1.1.1.3 then my outside IP will be the main one: 1.1.1.1

If I put:
http_port 1.1.1.1:33
http_port 1.1.1.3:33

then the same happens.

What do I need to do to be able to get the outside IP the one I am connecting to?

Please help.

Thanks
 
Old 02-19-2008, 03:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
incoming and outgoing ip's have nothing in common. check the tcp_outgoing_address option: http://www.visolve.com/squid/squid26...tgoing_address
 
Old 02-19-2008, 03:50 PM   #3
izghitu
Member
 
Registered: Oct 2005
Location: localhost.localdomain
Distribution: CentOS
Posts: 109

Original Poster
Rep: Reputation: 16
thanks for your help
 
  


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
question about squid adam_blackice Linux - Server 10 08-07-2007 02:48 AM
squid question yongitz Linux - Networking 2 11-11-2006 08:45 AM
squid question heraklez Slackware 3 07-30-2005 03:53 PM
Squid Question offaxis Linux - Networking 1 09-27-2004 08:46 PM
Squid Question cli_man Linux - Software 1 10-06-2003 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:20 AM.

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