E-Mail account over ppp connection

How can I give users only email access (pop) when they
are connected over ppp, I mean, they have to see only
the pop and sendmail and not be able to do anything else,
(www, ftp, etc).

Thanks
norberto071697Asked:
Who is Participating?
 
mgrcnkConnect With a Mentor Commented:
You can set up a firewall.  That sounds somewhat complex, so I will offer a bit of an easier solution.  Try ipfilter.  I use it for IP Masquerading, but its original design was to filter out specific packets.  You could set it up to only allow POP packets, though.

You can find the source for this at:

http://www.cyber.com.au/users/darrenr/

Also, since I haven't checked the newest releases of Linux, it may come with this preinstalled (some Unix variants do).  So, see if you have the binaries ipf and ipnat.

chris
0
 
cnbishopCommented:
I found the ipfwadm tool did exactly what I needed, and the installation was as easy as they get.  Danial Bourgin runs an Update-linux script at ftp.wsc.com (you'll have to hunt for the subdir, but the strings 'pub' and 'update_linux' are in there).  The installation of the ipfwadm package - and dissecting the config that was in place as part of the install - was really easy.  Haven't tried MGRCNK's idea, but this worked for me very well.

Hint - I shut nearly all ports but 110 and 25.  Let me know if I can expand on this idea.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.