Displaying 1 result from an estimated 1 matches for "caadeywhp3mjspc".
2012 Apr 04
2
Block outgoing connections for certaing uids (root, apache, nobody)
Good morning
With iptables in CentOS 5 and 6 Linux - how can you please
prevent processes running as "root", "apache" or "nobody"
from initiating outgoing connections?
On CentOS 5 Linux I've tried putting these lines into /etc/sysconfig/iptables:
-A OUTPUT -m owner --uid-owner root -j DROP
-A OUTPUT -m owner --uid-owner apache -j DROP
-A OUTPUT -m owner