blob: f44c1f015d18f3fd92cb7fd11a530aa6affeb6de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class shorewall::rules::torify::allow_tor_user {
$whitelist_rule = "allow-from-tor-user"
if !defined(Shorewall::Rule["$whitelist_rule"]) {
shorewall::rule {
"$whitelist_rule":
source => '$FW',
destination => 'all',
user => $shorewall::tor_user,
order => 101,
action => 'ACCEPT';
}
}
}
|