From: "Hiren Dave" <hiren2k4@gmail.com>
To: gentoo-user@lists.gentoo.org, VGLUG@googlegroups.com
Subject: [gentoo-user] another iptables question...
Date: Tue, 28 Mar 2006 19:44:07 +0530 [thread overview]
Message-ID: <a944a7520603280614r4d51eeadye63d6d88b671f8df@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
Hi,
I have configured iptables server on server1 (192.168.0.1/24).
Now I want to allow user root on server1 to be connected to network
and all other users on server1 will not be able to ping other PCs. So
I did this:
--------------------------------------------------------
#iptables -F
#service iptables stop
#iptables -A OUTPUT -m owner --uid-owner 0 -j ACCEPT
#iptables -A OUTPUT -j DROP
#iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere OWNER UID match root
DROP all -- anywhere anywhere
--------------------------------------------------------
Still other users including root can ping other PCs. Why is this not
working?
Also I have some diffulties understanding Connection Tracking(NEW,
ESTABLISHED, RELATED, INVALID) concept.
Can any one help me?
Any practical guide available on internet for iptables???
TnR,
Hiren
[-- Attachment #2: Type: text/html, Size: 1976 bytes --]
next reply other threads:[~2006-03-28 14:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 14:14 Hiren Dave [this message]
2006-03-28 15:36 ` [gentoo-user] another iptables question Hans-Werner Hilse
2006-03-30 14:22 ` Hiren Dave
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=a944a7520603280614r4d51eeadye63d6d88b671f8df@mail.gmail.com \
--to=hiren2k4@gmail.com \
--cc=VGLUG@googlegroups.com \
--cc=gentoo-user@lists.gentoo.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