Skip to contentSkip to conversation

help

DISCUSSION Ian Latter 1 participant 1 message Mar 8, 2003 netfilter

lore
Share & tools
lore

Ian Latter

author
#0 lore raw

The other thing you may be missing is ident ....

----- Original Message -----

Quoted 48 lines

From: <[email protected]>
To: <[email protected]>
Subject: help
Date: Sat, 08 Mar 2003 11:40:17 +0530

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

Quoted 9 lines

Any suggestions ? help ? Please

with warm regards

kalpesh

--
Ian Latter
Internet and Networking Security Officer
Macquarie University