public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] another iptables question...
@ 2006-03-28 14:14 Hiren Dave
  2006-03-28 15:36 ` Hans-Werner Hilse
  0 siblings, 1 reply; 3+ messages in thread
From: Hiren Dave @ 2006-03-28 14:14 UTC (permalink / raw
  To: gentoo-user, VGLUG

[-- 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 --]

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

end of thread, other threads:[~2006-03-30 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28 14:14 [gentoo-user] another iptables question Hiren Dave
2006-03-28 15:36 ` Hans-Werner Hilse
2006-03-30 14:22   ` Hiren Dave

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox