Hallo again everybody, Still struggling with this. Can somebody point out to me where I might find a log file of iptables in order to troubleshoot this? Many thanks in advance. -----Original Message----- From: Steffen Bisgaard [mailto:sbisgaard@xtrasource.com] Sent: Tuesday, January 21, 2003 4:25 PM To: netfilter@lists.netfilter.org Subject: SMTP Hallo all, Can anybody tell me why the following doesn't allow me to send and receive email? # POP server (110) # ---------------- iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp \ --source-port $UNPRIVPORTS \ -d $IPADDR --destination-port 110 -j ACCEPT iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp ! --syn \ -s $IPADDR --source-port 110 \ --destination-port $UNPRIVPORTS -j ACCEPT # POP client (110) # ---------------- iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp ! --syn \ --source-port 110 \ -d $IPADDR --destination-port $UNPRIVPORTS -j ACCEPT iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp \ -s $IPADDR --source-port $UNPRIVPORTS \ --destination-port 110 -j ACCEPT # ------------------------------------------------------------------ # SMTP server (25) # ---------------- iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp \ --source-port $UNPRIVPORTS \ -d $IPADDR --destination-port 25 -j ACCEPT iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp ! --syn \ -s $IPADDR --source-port 25 \ --destination-port $UNPRIVPORTS -j ACCEPT # # # # ------------------------------------------------------------------ # SMTP client (25) # ---------------- iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp ! --syn \ --source-port 25 \ -d $IPADDR --destination-port $UNPRIVPORTS -j ACCEPT iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp \ -s $IPADDR --source-port $UNPRIVPORTS \ --destination-port 25 -j ACCEPT