Mailinglist Archive: opensuse-security (685 mails)

< Previous Next >
iptables - pop
  • From: "spiekey" <spiekey@xxxxxxxxxxx>
  • Date: Wed, 27 Feb 2002 14:56:28 +0100
  • Message-id: <LAW2-OE3503oHMwVN7m00016ff0@xxxxxxxxxxx>
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

iptables -A INPUT -i $IFACE -p tcp --dport pop3 -m state --state
NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o $IFACE -p tcp --sport pop3 -m state --state
NEW,ESTABLISHED -j ACCEPT

iptables -A INPUT -i $IFACE -p udp --dport 110 -m state --state
NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o $IFACE -p udp --sport 110 -m state --state
NEW,ESTABLISHED -j ACCEPT

iptables -A INPUT -i $IFACE -p udp --dport pop3 -m state --state
NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o $IFACE -p udp --sport pop3 -m state --state
NEW,ESTABLISHED -j ACCEPT

---SNIP---

Anyone any idea what i did wrong?


Cheers, Spiekey

< Previous Next >
This Thread
Follow Ups