summaryrefslogtreecommitdiff
path: root/manifests/relay.pp
blob: 5d3beb798d1822b2b9dcb44eecb44e3c8bb9acf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class tor::relay inherits tor::daemon {

  tor::daemon::config { "tor-relay":
                        socks_port             => 0,
                        socks_listen_addresses => [],
                        socks_policies         => [],
                        or_port                => 9001,
                        or_listen_address      => '',
                        nickname               => '',
                        address                => '',
                        relay_bandwidth_rate   => 50,
                        relay_bandwidth_burst  => 50,
                        accounting_max         => 0,
                        accounting_start       => [],
                        contact_info           => '',
                        dir_port               => 0,
                        dir_listen_address     => '',
                        dir_port_front_page    => '',
                        my_family              => '',
                        exit_policies          => [ 'reject *:*' ],
                      }

}