diff options
Diffstat (limited to 'manifests/vm/yacy.pp')
-rw-r--r-- | manifests/vm/yacy.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/vm/yacy.pp b/manifests/vm/yacy.pp new file mode 100644 index 0000000..0ddbf4b --- /dev/null +++ b/manifests/vm/yacy.pp @@ -0,0 +1,11 @@ +class firewall::vm::yacy($destination, $zone = 'fw') { + shorewall::rule { 'yacy-0': + action => 'DNAT', + source => 'net', + destination => "$zone:$destination:8090", + proto => 'tcp', + destinationport => '8090', + ratelimit => '-', + order => 2500, + } +} |