LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-20-2005, 01:50 PM   #1
ryanzietlow
LQ Newbie
 
Registered: Oct 2003
Posts: 26

Rep: Reputation: 15
SQUID and POP3


Yet another squid and pop3 questions. I know that squid is a http proxy and can not handle pop3 and smtp. But how can I get my local clients from my network to access their email from the isp via outlook?
My network looks like this Internet<----> Router<----->Linux Box (Redhat with Squid Installed) <-----> Switch<----->Internal clients

I do not want to change the configurations on my network that i currently have. I was hoping there was a way that I could bypass or forward the pop3 and smtp ports past squid? Someone had mentioned iptables but I have never used them before and am not sure if I want to play with that.
Can i just tell squid to allow anything on port 110 to flow through? Or can I tell my linux box to force port 110 to go stratight to the router?

I can access email via pop3 from the linux box.

I have read through the other threads and tried most of the suggestions without and luck (setting up sendmail, setting up a pop3 proxy). But all i want is to let the traffic to flow through without touching squid. Is it possible?

Thanks,
Ryan
 
Old 09-20-2005, 02:03 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Tell your linux box to ip forward port 110 and allow established,related on the reverse.
 
Old 09-20-2005, 02:09 PM   #3
ryanzietlow
LQ Newbie
 
Registered: Oct 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I am not overly familiar with linux. How do i go about telling my linux box to ip forward port 110 and allow established,related on the reverse.
 
Old 09-20-2005, 02:17 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Do you already have iptables installed and configured? You'll need to do so.

Then "iptables -A FORWARD -s $LOCALNET -p tcp --dport 110 -j ACCEPT" and "iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT" should do it for you.
 
Old 09-20-2005, 02:33 PM   #5
ryanzietlow
LQ Newbie
 
Registered: Oct 2003
Posts: 26

Original Poster
Rep: Reputation: 15
root@xxxxxx root]# iptables -A FORWARD -s $LOCALNET -p tcp --dport 110 -j ACCEPT
Bad argument `tcp'
Try `iptables -h' or 'iptables --help' for more information.

any suggestions?
Thanks for your patience and time.
Ryan
 
Old 09-20-2005, 04:12 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Oops, sorry, should've clarified. $LOCALNET should be replaced by the local network: for example, 192.168.0.0/255.255.255.0 or similar.
 
  


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
Squid and pop3 yjvalas Linux - Networking 1 11-06-2005 04:32 PM
Squid POP3 & SMTP issues mcatman Linux - Networking 5 02-28-2005 10:12 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 07:36 PM
Does squid supports SMTP and POP3? yenonn Linux - Newbie 5 03-15-2003 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:08 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