Skip to contentSkip to conversation

Problem with "owner"

DISCUSSION Pierre-Etienne Mélet 1 participant 1 message Dec 22, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

before compiling my own iptables (I'm working with iptables 1.2.7 rpm
given with Mandrake 9.1), i'd like to be sure i'm not making a mistake:

My purpose is to allow thunderbird only to access internet through pop3:

$IPTABLES -A INPUT -i $EXTERNAL_IF -p tcp --sport pop3 \
       -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A OUTPUT -o $EXTERNAL_IF -p tcp --dport pop3 \
       -m owner --cmd-owner 'thunderbird-bin' \
       -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

Unfortunately, "thunderbird-bin" is unable to pass the firewall.

What am i doing wrong ?

Best regards.

Signature · 6 lines
Mélet Pierre-Etienne

[email protected]

dom: 04 93 65 39 67
mob: 06 03 67 95 44