blob: db3ecd3e6bf0fe4a28656464a820f7526ba23d9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# Allow all incoming connections to stunnel server port
#
define site_shorewall::stunnel::server($port) {
include site_shorewall::defaults
file { "/etc/shorewall/macro.stunnel_server_${name}":
content => "PARAM - - tcp ${port}",
notify => Service['shorewall'],
require => Package['shorewall']
}
shorewall::rule {
'net2fw-couchdb':
source => 'net',
destination => '$FW',
action => "stunnel_server_${name}(ACCEPT)",
order => 200;
}
}
|