Commit b68b1d90 authored by intrigeri's avatar intrigeri

Merge remote branch 'immerda/master'

parents f79bf97e d0d76dc9
class shorewall::rules::identd {
shorewall::rule { 'net-me-identd-tcp':
source => 'net',
destination => '$FW',
proto => 'tcp',
destinationport => '113',
order => 240,
action => 'ACCEPT';
}
}
class shorewall::rules::out::silc {
shorewall::rule{
'me-net-silc-tcp':
source => '$FW',
destination => 'net',
proto => 'tcp',
destinationport => '706',
order => 240,
action => 'ACCEPT';
'me-net-silc-udp':
source => '$FW',
destination => 'net',
proto => 'udp',
destinationport => '706',
order => 240,
action => 'ACCEPT';
}
}
class shorewall::rules::silcd {
shorewall::rule{
'net-me-silcd-tcp':
source => 'net',
destination => '$FW',
proto => 'tcp',
destinationport => '706',
order => 240,
action => 'ACCEPT';
'net-me-silcd-udp':
source => 'net',
destination => '$FW',
proto => 'udp',
destinationport => '706',
order => 240,
action => 'ACCEPT';
}
}
class shorewall::rules::ssh {
shorewall::rule { 'net-me-tcp_ssh':
source => 'net',
destination => '$FW',
proto => 'tcp',
destinationport => 'ssh',
order => 240,
action => 'ACCEPT';
}
class shorewall::rules::ssh($ports) {
$flatted_ports = join($ports,',')
shorewall::rule { 'net-me-tcp_ssh':
source => 'net',
destination => '$FW',
proto => 'tcp',
destinationport => $flatted_ports,
order => 240,
action => 'ACCEPT';
}
}
class shorewall::rules::tinc {
shorewall::rule { 'net-me-tinc-tcp':
source => 'net',
destination => '$FW',
proto => 'tcp',
destinationport => '655',
order => 240,
action => 'ACCEPT';
}
shorewall::rule { 'me-net-tinc-tcp':
source => '$FW',
destination => 'net',
proto => 'tcp',
destinationport => '655',
order => 240,
action => 'ACCEPT';
}
shorewall::rule { 'net-me-tinc-udp':
source => 'net',
destination => '$FW',
proto => 'udp',
destinationport => '655',
order => 240,
action => 'ACCEPT';
}
shorewall::rule { 'me-net-tinc-udp':
source => '$FW',
destination => 'net',
proto => 'udp',
destinationport => '655',
order => 240,
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