> -----Original Message----- > From: netfilter-admin@xxxxxxxxxxxxxxxxxxx > [mailto:netfilter-admin@xxxxxxxxxxxxxxxxxxx] On Behalf Of > Steffen Bisgaard > Sent: Monday, March 31, 2003 10:19 AM > To: netfilter@xxxxxxxxxxxxxxxxxxx > Subject: Mailserver > > > Hallo list, > > hopefully someone can help me here. I keep getting the below error (or > similar) on my mailserver. > > CHAININ= OUT=eth0 SRC=m.y.i.p DST=66.162.207.18 LEN=52 > TOS=0x00 PREC=0x00 > TTL=64 ID=32008 DF PROTO=TCP SPT=25 DPT=41018 WINDOW=11584 > RES=0x00 ACK FIN > URGP=0 > END OF OUTPUT > CHAININ= OUT=eth0 SRC=m.y.i.p DST=66.162.207.18 LEN=52 > TOS=0x00 PREC=0x00 > TTL=64 ID=32008 DF PROTO=TCP SPT=25 DPT=41018 WINDOW=11584 > RES=0x00 ACK FIN > URGP=0 > END OF INPUT > CHAININ=eth0 OUT= MAC=00:06:5b:ed:67:6a:00:90:7f:1f:8d:e9:08:00 > SRC=66.162.207.18 DST=m.y.i.p LEN=52 TOS=0x00 PREC=0x00 > TTL=44 ID=65006 DF > PROTO=TCP SPT=41018 DPT=25 WINDOW=6432 RES=0x00 ACK FIN URGP=0 > END OF INPUT > CHAININ=eth0 OUT= MAC=00:06:5b:ed:67:6a:00:90:7f:1f:8d:e9:08:00 > SRC=66.162.207.18 DST=m.y.i.p LEN=52 TOS=0x00 PREC=0x00 > TTL=44 ID=65006 DF > PROTO=TCP SPT=41018 DPT=25 WINDOW=6432 RES=0x00 ACK FIN URGP=0 > END OF OUTPUT > > How would I allow that through? Sorry for a simple question > but as you can > guess I am very new to iptables. > > Kind Regards > > Iptables -A INPUT -p TCP -d m.y.i.p --dport 25 -s 0/0 --sport 1024: -j ACCEPT Iptables -A OUTPUT -p TCP -s m.y.i.p --sport 25 -d 0/0 --dport 1024: -m state ESTABLISHED -j ACCEPT /Klintan