Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
I have a new box running fedora core 4 x86-64 with squid and iptables. Whenever I try to send or recieve email through this box I am not able to connect.
The version of squid is 2.5 (I got it by running yum install squid)
I have tried opening up the SMTP and POP3 default ports in iptables but that is not helping.
The proxy is working great I am able to view all websites that I have opened up and it is blocking the ones that I do not want access too.
I just tried it and I am not able to send with the firewall off or on.
for some more info I have my default gateway set to the IP of proxy server as I want everything routed through it. When I change it back to previous one I am able to send/recieve email.
Once I impliment this I want to have this proxy server as the only box that has direct access to the router so I am planning on setting up the proxy directly attached to the router and then from my second interface card have it connected to the switches of the network.
Ok. So I'm assuming that you'd like the proxy/gateway to forward mail to and from the mail server, correct? If so, could you post the iptables rules that you are using (make sure to remove any publically routable IP addresses).
I am using webmin to manage the firewall and I just used the option to reset the firewall and set it to allow all traffic. and it is still not allowing email to go through
I have figured some of my problems out. I created a test network with my proxy as the only way to the outside world. I was not able to get of my requests for anything out. I went into the network configuration section of webmin and made some changes to the routing. I am now able to get my HTTP requests out (as I am working behind the proxy right now) but I am still not able to get my SMTP/POP3 packets out. they just time out.
I think that this problem has something to do with routing also as I am able to telnet into the mail server directly from the proxy server but not from behind it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.