Linux - NetworkingThis 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.
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.
My home network consists of one Mandrake 9.1 box and one windows 98 box. I corently have 602Pro Lan Suite as my proxy server on the windows 98 box.
Now I plan to use one of my old machines as a firewall/proxy/print server running Mandrake.
Is there a pop3/smtp proxy available on linux that I can use to connect to my ISP's pop3 and smtp servers? My whole family has accounts on this server and we are dependent on these accounts for our work.
fetchmail will access your ISP's POP3 server and grab the mail. sendmail / procmail will route it to various places on the internal network. sendmail will also send mail to your ISP''s SMTP server.
Try the man pages, and tldp.org HOWTOs for starters.
Actually, you probably don't need any proxy. I had a similar set-up to yours when I first started with Linux. I had a Win98 box as my gateway with Internet Connection Sharing and AnalogX proxy.
In Linux, you don't need anything like AnalogX or 602Pro to access your POP3/SMTP accounts with your ISP. You only need fetchmail and sendmail if you are actually going to use your gateway/firewall as a mail server.
If you are merely accessing your ISP for email and internet, then you need to configure the iptables firewall on your gateway box.
Here's my meagre, simple iptables script (note: I am a newbie, so if you want to improve it, do some research into iptables on this site and through Google):
# !/bin/sh
# rudimentary iptables script for RedHat 7.3
# copy this script to /etc/rc.d/init.d and chmod +x
# eth0 is the internet facing network card
# eth1 is the home LAN facing network card
# enable ip forwarding; I added this line to rc.local too
echo 1 > /proc/sys/net/ipv4/ip_forward
# flush tables
iptables -F
iptables -X
# enable masquerading to allow LAN internet access
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# forward LAN traffic from eth1 to eth0 for e-mail;
# the following should be one line
iptables -A FORWARD -i eth1 -o eth0 -m state --state NEW,ESTABLISHED -j ACCEPT
# block out internet intrusion on eth0
#the following should be one line
iptables -A INPUT -i eth0 -m state --state NEW,INVALID -j DROP
#the following should be one line
iptables -A FORWARD -i eth0 -m state --state NEW,INVALID -j DROP
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.