[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: iptables and tor



On Feb 10, 2008 1:07 AM, dante <dante@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi everyone,
>
> Has anyone given any thought as to what firewall rules to use on a linux
> system running a tor server?

Assuming that your tor daemon runs under a dedicated UID or GID (e.g.
tor), you can use
  iptables -m owner --uid-owner tor (or --gid-owner tor) ...