Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-21-2008, 09:19 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
SQUID port to port


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!

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

Rep: Reputation: 16

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


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

All times are GMT -5. The time now is 01:59 PM.

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