LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: 17
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 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
Open Source Consulting | Domain Registration