Skip to contentSkip to conversation

help

DISCUSSION [email protected] 2 participants 2 messages Mar 8, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

help

Slow respose after using IPTABLES

Hi all,
My mail server is runnig on Redhat 7.2 with Sendmail.
Now I want to use IPTABLES for the Security Point of view. For this I made test server and implemented IPTABLES on it. But after using IPTABLES respose from the server is SLOW when i use POP3 clients but it works.

I am using following script.

# Deny All

/sbin/iptables -P INPUT DROP
/sbin/iptables -P FORWARD DROP
/sbin/iptables -P OUTPUT DROP

# Local host

/sbin/iptables -A INPUT -s localhost -d localhost -j ACCEPT /sbin/iptables -A OUTPUT -s localhost -d localhost -j ACCEPT

# ICMP

/sbin/iptables -A INPUT -s $INTRANET -d $MYHOST -p icmp -j ACCEPT /sbin/iptables -A OUTPUT -s $MYHOST -d $INTRANET -p icmp -j ACCEPT

# SMTP

/sbin/iptables -A INPUT -s $INTRANET -d $MYHOST -p tcp --dport smtp -j
ACCEPT
/sbin/iptables -A OUTPUT -s $MYHOST -d $INTRANET -p tcp --sport smtp -j
ACCEPT

# POP3

/sbin/iptables -A INPUT -s $INTRANET -d $MYHOST -p tcp --dport pop3 -j
ACCEPT
/sbin/iptables -A OUTPUT -s $MYHOST -d $INTRANET -p tcp --sport pop3 -j
ACCEPT

Any suggestions ? help ? Please

with warm regards

kalpesh

#1 lore raw
Quoted 1 line

Any suggestions ?

Ask netfilter users? They sit on a different mailing list. "It doesn't work" is not something a developer can fix.

As a random guess: you miss rules permitting DNS name queries.

best regards
Patrick