LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 02-23-2005, 04:08 AM   #1
pettar
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
pop3 smtp ftp proxy ??


Hi
In my network there is 10 clients and I use fedora 2 as my gateway to internet. I setup squid proxy and socks5 proxy and they working perfect.
I need pop3, smtp and ftp proxy like squid ( without chache) just to forward clients pop3 and smtp requsts ( outlook express) to mail server at provider and to use ftp proxy trough fedora

I donot want to set up DNS and GATEWAY on my clients and dont wont to set MASQUERADE on my Fedora-linux.

Is there some suport for pop3 and smtp proxy in fedora or some other solution ??
Thanks in advance
Sorry for my english
Nenad
 
Old 02-23-2005, 07:05 AM   #2
peter_robb
Moderator
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
I can recommend these proxies..
pop3 p3scan
smtp amavisd-new (as smtp relay)
ftp frox
http dansguardian (used with squid)
These can be setup as transparent proxies using iptables REDIRECT
You may want to consider also adding virus checking to these with ClamAV. (run them all as user clamav)

dns dnsmasq or dnrd

Last edited by peter_robb; 02-23-2005 at 07:06 AM.
 
Old 02-23-2005, 03:49 PM   #3
bagira
LQ Newbie
 
Registered: Dec 2003
Location: Germany
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Using exim for MTA is also very helpful. You can integrate spam scanning with exican (integrates spamassain) and you can scan for viruses (for free using sophie). Have a look at

www.exim.org
http://duncanthrax.net/exiscan-acl

Hope this will help,
/bagira
 
Old 02-23-2005, 04:11 PM   #4
peter_robb
Moderator
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
I was trying to avoid suggesting setting up a full blown MTA.
There's quite a lot to be configured for relaying without it being abused later..
Of course as you say bagira, Exim or Postfix or Sendmail can be effective setups. Just quite big..

I have found amavisd-new to be very quick to get going if it's only relaying to one mail server and only listening on localhost.
The spam checks only seem to make sense for incoming mail, rather than outgoing mail..
 
Old 04-20-2005, 04:21 AM   #5
pettar
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

Thank you for replays.
After a lot of experiment I am posting my solution that works for me. Maybe help someone else....

http proxy: SQUID http://www.squid-cache.org/
ftp proxy: http://www.ftpproxy.org/
pop3 proxy: http://quietsche-entchen.de/cgi-bin/...xies/Pop3Proxy
smtp proxy: http://quietsche-entchen.de/cgi-bin/...xies/SmtpProxy
socks5 proxy: http://ftp.redhat.com/pub/contrib/li...r11-1.i386.rpm

end everything work like charm. Do not have problem with emula upload or p2p programs , set delay pools for squid, and I can limit single ftp, socks or mail port with CBQ. Do not have to set gateway for clients or DNS server, and my linux box can change local IP as I wont , a have to change just new IP for proxy on clients. Now my bandwidth is working perfect.
Now I came on interesting idea, to permit p2p programs over socks5 proxy ( all of them have options for socks-proxy emula , shareza, kazza) and my idea is to limit socks5 port ( 1080 ) download and upload to local network because I do not wont to irresponsible user eat all my bandwidth, so I am again at problem
I configure CBQ to limit traffic to local network on port 1080 and it works excellent for limiting downloads but uploads go like crazy, because CBQ can not limit uploads to my linux box on port 1080.
My question is: Is there solution to limit UPLOADS and DOWNLOAD from my local network to LINUX box on single port (1080) ??
Thank you in advance
Sorry for my bad English
Petar
 
Old 05-25-2005, 08:47 AM   #6
harnadem
Member
 
Registered: Nov 2003
Location: London, Ontario
Distribution: Ubuntu - Hoary
Posts: 66

Rep: Reputation: 15
How did you get pop3.proxy to work?

Hi Pettar!

I am also trying to use pop3.proxy, but without success. Can you tell me how you managed to get it to work? Did you just edit the /etc/inetd.conf file or did you also have to change your iptables?
 
Old 06-04-2005, 11:33 PM   #7
bdogg
Member
 
Registered: Sep 2004
Location: Salt Lake City, UT
Distribution: Debian Sarge
Posts: 93

Rep: Reputation: 15
Quote:
Originally posted by pettar
My question is: Is there solution to limit UPLOADS and DOWNLOAD from my local network to LINUX box on single port (1080) ??
You could probably configure iptables to forward the default ports of those applications to port 1080.

I use a similar setup on my NAT firewall. I want all webtraffic to pass through my proxy/filter running on port 4000. So what I do is I forward all traffic on 80 to 4000 and then deny traffic on 80. That way if they delete the proxy settings, their packets are still sent through the filter.
 
Old 10-25-2005, 06:12 AM   #8
pettar
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Re: How did you get pop3.proxy to work?

Quote:
Originally posted by harnadem
Hi Pettar!

I am also trying to use pop3.proxy, but without success. Can you tell me how you managed to get it to work? Did you just edit the /etc/inetd.conf file or did you also have to change your iptables?
Just edit /etc/inetd.d/
take attention on sendmail service that is started by default and listening on pop3 port (110)
If you need exact configuration, post the request here where the problem started....
Petar
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pop3, smtp and ftp proxy pettar Fedora 1 02-23-2005 10:24 AM
Setting up a server , FTP, HTTP, POP3, SMTP, DNS merman63769 Linux - Newbie 2 09-20-2004 12:44 PM
Pop3\smtp evalduxx Linux - Software 4 12-05-2003 06:33 PM
POP3 & SMTP Proxy arun79 Linux - Networking 2 06-17-2003 07:44 PM
SMTP and POP3 Proxy step Linux - Newbie 4 03-14-2003 07:19 AM


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