Commit 1817ee80 authored by mh's avatar mh Committed by Micah Anderson
Browse files

do it as a define so we can easily pass multiple target zones

parent c9662005
class shorewall::rules::out::ekeyd($ekeyd_host) { define shorewall::rules::out::ekeyd($ekeyd_host) {
shorewall::rule { 'me-net-tcp_ekeyd': shorewall::rule { "me-${name}-tcp_ekeyd":
source => '$FW', source => '$FW',
destination => "net:${ekeyd_host}", destination => "${name}:${ekeyd_host}",
proto => 'tcp', proto => 'tcp',
destinationport => '8888', destinationport => '8888',
order => 240, order => 240,
action => 'ACCEPT'; action => 'ACCEPT';
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment