LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-28-2009, 09:33 PM   #1
Yahooguntu
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
Passing traffic to Squid using Iptables


I have a rather complex gateway that I am trying to set up with iptables. I can use iptables fairly well, but I don't know how to pass incoming HTTP requests to Squid. Squid would then need to be able to pass it on to one of two internal networks. Would I just redirect incoming HTTP requests to port 3129 (Squid's default) and allow all requests to and from port 3129 on the internal network? Also, would it be more efficient for Squid to just listen on port 80 instead of port 3129?

Thank you for your time.
 
Old 08-29-2009, 12:57 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi, I also use iptables and squid, but just for my own bandwidth savings.

In the past I have found this page useful and current....

http://www.linuxhomenetworking.com/w...ess_with_Squid

I thought the default port was 3128, but I guess you can use what you like as long as the rest of the system knows about it.

see how you go, best wishes, Glenn
 
  


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
[HELP] redirect traffic to spesific port based on Traffic Content using iptables summersgone Linux - Server 2 06-22-2009 11:26 AM
passing internet traffic through a vpn granduke Linux - Networking 1 10-03-2008 02:52 PM
forward port 80 to squid + passing all other traffic Obig Linux - Networking 1 06-02-2008 02:48 PM
Router not passing internet traffic Spinlock Linux - Wireless Networking 2 02-02-2006 04:55 PM
PPP Through Slackware 9.1 -- No traffic passing bburgy Linux - Software 4 08-05-2004 01:13 PM


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

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