Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-20-2005, 01:50 PM
|
#1
|
LQ Newbie
Registered: Oct 2003
Posts: 26
Rep:
|
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
|
|
|
09-20-2005, 02:03 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Tell your linux box to ip forward port 110 and allow established,related on the reverse.
|
|
|
09-20-2005, 02:09 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Posts: 26
Original Poster
Rep:
|
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.
|
|
|
09-20-2005, 02:17 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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.
|
|
|
09-20-2005, 02:33 PM
|
#5
|
LQ Newbie
Registered: Oct 2003
Posts: 26
Original Poster
Rep:
|
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
|
|
|
09-20-2005, 04:12 PM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 05:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|