Mailinglist Archive: opensuse-security (685 mails)

< Previous Next >
Re: [suse-security] iptables - pop
  • From: "Martin Peikert" <Martin.Peikert@xxxxxxxxx>
  • Date: Wed, 27 Feb 2002 14:58:49 +0100
  • Message-id: <3C7CE619.7020509@xxxxxxxxx>
spiekey wrote:
Hello!
For some reason i canĀ“t get my mail from my gmx pop account, this is my
IPTABLES script:

---SNIP---

#Default DROP policy. I set the other eth+ on Accept, to make sure its not
their fault!
iptables -P INPUT DROP
iptables -P FORWARD ACCEPT
iptables -P OUTPUT DROP

IFACE="ppp0"


---SNIP---

# POP
# Allow POP, i tried everything to get is workins, as u can see ;)
iptables -A INPUT -i $IFACE -p tcp --dport 110 -m state --state
NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o $IFACE -p tcp --sport 110 -m state --state
NEW,ESTABLISHED -j ACCEPT
---8<---

Try 'OUTPUT' in combination with 'dport' and 'INPUT' with 'sport'...

Martin


< Previous Next >
This Thread
References