LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-21-2008, 08:19 AM   #1
elsergio
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
SQUID port to port


Hi,

Here comes another squid question:

It is possible to have a squid proxy working like this:

listening on port 80 and forward connection to ip1 on port 8080
listening on port 81 and forward connection to ip2 on port 8181

Both options at the same time.

I have seen that you can set several listening ports.

http_port 80 81

but I don't know if squid can listen at the same time.

Thanks a lot!

Sergio
 
Old 07-23-2008, 04:48 AM   #2
nidsche
LQ Newbie
 
Registered: Jun 2008
Location: Germany
Posts: 21

Rep: Reputation: 16
Hi,

For me this sounds like you would like to do NAT.
Why don't you use iptables for this?

Could you describe a little more your motivation for this?

BTW: don't forget that apache is able to tell the client on which address it is supposed to be addressed. Meaning you might need to change some settings in apache as well.

Best regards nidsche
 
  


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
block port squid sunlinux Linux - Security 12 06-26-2008 10:34 PM
Squid + Port Mapping? ssd26 Linux - Software 1 04-23-2007 12:13 PM
Squid with port manager nadeemtilasma Linux - Networking 2 09-13-2006 05:47 PM
debian iptables squid - redirect port 80 to port 8080 on another machine nickleus Linux - Networking 1 08-17-2006 12:59 AM
port redirection for squid htm Linux - Software 0 03-20-2004 08:59 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration