cyberbootje
Verified User
- Joined
- Jun 16, 2007
- Messages
- 17
Hi
I recently re-installed directadmin on debian 3.1 (i did an upgrade to 4.0 no problems so far). I am setting up some iptables to manage my firewall and since then i can't send or receive emails.
If i flush the rules then all mails in que are sent. On some forum i read that i have to include this rule:
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
This does not work for me because this line will open up all the ports and that is NOT what i need. I only want to open ports like ftp, http and email nothing more. So i really need specific ports to open up, i did a search and came up with ports: 143, 996, 2525 and so on i even opend up ports from 5000 to 8000 as extra and still noting, if i flush the rules again or insert that line mentioned above it does work fine.
So if someone uses directadmin with a firewall please tell me which ports to open up.
thx
I recently re-installed directadmin on debian 3.1 (i did an upgrade to 4.0 no problems so far). I am setting up some iptables to manage my firewall and since then i can't send or receive emails.
If i flush the rules then all mails in que are sent. On some forum i read that i have to include this rule:
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
This does not work for me because this line will open up all the ports and that is NOT what i need. I only want to open ports like ftp, http and email nothing more. So i really need specific ports to open up, i did a search and came up with ports: 143, 996, 2525 and so on i even opend up ports from 5000 to 8000 as extra and still noting, if i flush the rules again or insert that line mentioned above it does work fine.
So if someone uses directadmin with a firewall please tell me which ports to open up.
thx