diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-07-07 10:03:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-07-07 10:03:25 -0300 |
commit | baa322413918d0ea989ebdaf9c5de64f030794cc (patch) | |
tree | 410da0746c2dab4588fb8d57243c842107720ac9 /manifests/subsystems/firewall | |
parent | b9b9be9d70a98eb36f22b50bb1f29235f836c6bc (diff) | |
download | puppet-nodo-baa322413918d0ea989ebdaf9c5de64f030794cc.tar.gz puppet-nodo-baa322413918d0ea989ebdaf9c5de64f030794cc.tar.bz2 |
Adding yacy routing to vserver
Diffstat (limited to 'manifests/subsystems/firewall')
-rw-r--r-- | manifests/subsystems/firewall/vserver.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/subsystems/firewall/vserver.pp b/manifests/subsystems/firewall/vserver.pp index fe96c40..4262244 100644 --- a/manifests/subsystems/firewall/vserver.pp +++ b/manifests/subsystems/firewall/vserver.pp @@ -465,3 +465,15 @@ class firewall::vserver::gobby($destination, $zone = 'fw') { order => '2400', } } + +class firewall::vserver::yacy($destination, $zone = 'fw') { + shorewall::rule { 'yacy-0': + action => 'DNAT', + source => 'net', + destination => "$zone:$destination:8090", + proto => 'tcp', + destinationport => '8090', + ratelimit => '-', + order => '2500', + } +} |