* Clarification needed on use of -m owner --uid-owner
@ 2015-04-09 3:53 Vince Cooper
0 siblings, 0 replies; only message in thread
From: Vince Cooper @ 2015-04-09 3:53 UTC (permalink / raw)
To: netfilter
Hi,
I'm new to iptables and would appreciate it if someone could point out to me if -m owner --uid-owner spring can be used in the following rules:
(1) iptables -A OUTPUT -o lo -m owner --uid-owner spring -j ACCEPT
(2) iptables -A OUTPUT -o eth0 -m owner --uid-owner spring -j REJECT
(3) iptables -A OUTPUT -p tcp -m tcp -m conntrack -d 123.123.123.123 -o eth0 -m owner --uid-owner spring --dport 443 -j ACCEPT --ctstate NEW,ESTABLISHED
(4)
(a) iptables -A OUTPUT -p tcp -m tcp -m conntrack -o tun0 -m owner --uid-owner spring --dport 80 -j ACCEPT --ctstate NEW,ESTABLISHED
(b) iptables -A OUTPUT -p tcp -m tcp -m conntrack -o tun0 -m owner --uid-owner spring --dport 443 -j ACCEPT --ctstate NEW,ESTABLISHED
(c) iptables -A OUTPUT -p udp -m udp -m conntrack -o tun0 -m owner --uid-owner spring --dport 53 -j ACCEPT --ctstate NEW,ESTABLISHED
(d) iptables -A OUTPUT -p tcp -m tcp -m conntrack -o tun0 -m owner --uid-owner spring --dport 53 -j ACCEPT --ctstate NEW,ESTABLISHED
Additional info:
I. No root account was created during installation of Debian Wheezy
II. Name of account of user is spring
Thanks.
Vince
_____________________________________________________________
Washington DC's Largest FREE Email service. ---> http://www.DCemail.com ---> A Washington Online Community Member --->
http://www.DCpages.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-09 3:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 3:53 Clarification needed on use of -m owner --uid-owner Vince Cooper
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.