LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Firewall Help (https://www.linuxquestions.org/questions/linux-newbie-8/firewall-help-356556/)

wfernley 08-24-2005 02:13 PM

Firewall Help
 
My mail server doesn't let me login on port 110. I added it to my iptables and my iptables now reads.....

[root@mail root]# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:telnet
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited


Am I missing something?

Thanks :)

Wes

bosewicht 08-24-2005 02:22 PM

This might be a dumb question, but did u restart iptables after you edited it?

wfernley 08-24-2005 02:42 PM

Not a dumb question at all.....because I didn't know I had too ;)

I just restarted iptables and it still does the same thing.

bosewicht 08-24-2005 03:52 PM

try
/etc/rc.d/init.d/iptables status

and see what it says


Another thing to try is
http://qtables.radom.org/index.php

http://qtables.radom.org/files/quicktables-2.3.tar.gz

it will ask you a few questions and write out a iptables config file.


All times are GMT -5. The time now is 07:21 PM.