try /var/log/firewall On Wed, 2003-01-22 at 14:33, Steffen Bisgaard wrote: > 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 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( Raymond Leach ) ) Knowledge Factory ( ( ) ) Tel: +27 11 445 8100 ( ( Fax: +27 11 445 8101 ) ) ( ( http://www.knowledgefactory.co.za/ ) ) http://www.saptg.co.za/ ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o o o o .--. .--. | o_o| |o_o | | \_:| |:_/ | / / \\ // \ \ ( | |) (| | ) /`\_ _/'\ /'\_ _/`\ \___)=(___/ \___)=(___/
Attachment:
signature.asc
Description: This is a digitally signed message part