diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:56:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:56:50 -0300 |
commit | 14ced49d32beab8b80c6499b3a02ed1523ab98ae (patch) | |
tree | 22cdf03d732e91e502c5124e9f649d1c972488ce /manifests/vm/tor.pp | |
parent | 279c52185ec96cd1f8b0c25a1a14b0e537c1c11a (diff) | |
download | puppet-firewall-14ced49d32beab8b80c6499b3a02ed1523ab98ae.tar.gz puppet-firewall-14ced49d32beab8b80c6499b3a02ed1523ab98ae.tar.bz2 |
Use firewall::virtual class names
Diffstat (limited to 'manifests/vm/tor.pp')
-rw-r--r-- | manifests/vm/tor.pp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/manifests/vm/tor.pp b/manifests/vm/tor.pp deleted file mode 100644 index cd8820a..0000000 --- a/manifests/vm/tor.pp +++ /dev/null @@ -1,43 +0,0 @@ -class firewall::vm::tor($destination, $zone = 'fw') { - shorewall::rule { 'tor-0': - action => 'DNAT', - source => 'net', - destination => "$zone:$destination:9001", - proto => 'tcp', - destinationport => '9001', - ratelimit => '-', - order => 2100, - } - - shorewall::rule { 'tor-1': - action => 'DNAT', - source => '$FW', - destination => "$zone:$destination:9001", - proto => 'tcp', - destinationport => '9001', - originaldest => hiera('firewall::external_ip', $::ipaddress), - ratelimit => '-', - order => 2101, - } - - shorewall::rule { 'tor-2': - action => 'DNAT', - source => 'net', - destination => "$zone:$destination:9030", - proto => 'tcp', - destinationport => '9030', - ratelimit => '-', - order => 2102, - } - - shorewall::rule { 'tor-3': - action => 'DNAT', - source => '$FW', - destination => "$zone:$destination:9030", - proto => 'tcp', - destinationport => '9030', - originaldest => hiera('firewall::external_ip', $::ipaddress), - ratelimit => '-', - order => 2103, - } -} |