From: Askar Ali Khan <askarali@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: blocking a site for others not for -m owner
Date: Thu, 8 Jul 2004 09:56:37 +0500 [thread overview]
Message-ID: <a0f69e50407072156420fc7aa@mail.gmail.com> (raw)
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
next reply other threads:[~2004-07-08 4:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 4:56 Askar Ali Khan [this message]
2004-07-08 5:16 ` blocking a site for others not for -m owner Alexander Samad
2004-07-08 5:24 ` Nick Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0f69e50407072156420fc7aa@mail.gmail.com \
--to=askarali@gmail.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox