All of lore.kernel.org
 help / color / mirror / Atom feed
* blocking a site for others not for -m owner
@ 2004-07-08  4:56 Askar Ali Khan
  2004-07-08  5:16 ` Alexander Samad
  2004-07-08  5:24 ` Nick Taylor
  0 siblings, 2 replies; 3+ messages in thread
From: Askar Ali Khan @ 2004-07-08  4:56 UTC (permalink / raw)
  To: netfilter

Salam

Im trying own my home box (standalone) which is directly connected
with net via ppp0 (dialup). I got a three user accounts on this box
only for practice purpose.
Now im trying to block a site www.foo.com for users excluding user
"askar" with something like....

#iptables -A OUTPUT -p tcp --dport 80 -d www.foo.com -j DROP

       this works for all users however when I tries to exclude user
"askar" from this blocking with...

#iptables -A OUTPUT -p tcp --dport 80 -d www.kmmod.com -m owner
--uid-owner askar -j ACCEPT

              site is still block for user "askar", i also tried with
changing the other of the rules no working :), Howto exclude "askar" ?
my default chain polices ...

Chain INPUT (policy ACCEPT)
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)

Regards
Askar


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-08  5:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08  4:56 blocking a site for others not for -m owner Askar Ali Khan
2004-07-08  5:16 ` Alexander Samad
2004-07-08  5:24 ` Nick Taylor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.