projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add start of a postfix module to hang firewall rules/monitoring/etc off
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
manifests
/
per-host.pp
diff --git
a/modules/ferm/manifests/per-host.pp
b/modules/ferm/manifests/per-host.pp
index
073b0a4
..
9f642ca
100644
(file)
--- a/
modules/ferm/manifests/per-host.pp
+++ b/
modules/ferm/manifests/per-host.pp
@@
-91,13
+91,6
@@
class ferm::per-host {
rule => '&SERVICE(tcp, 6523)'
}
}
rule => '&SERVICE(tcp, 6523)'
}
}
- bendel,liszt: {
- @ferm::rule { 'smtp':
- domain => '(ip ip6)',
- description => 'Allow smtp access',
- rule => '&SERVICE(tcp, 25)'
- }
- }
draghi: {
#@ferm::rule { 'dsa-bind':
# domain => '(ip ip6)',
draghi: {
#@ferm::rule { 'dsa-bind':
# domain => '(ip ip6)',
@@
-121,12
+114,9
@@
class ferm::per-host {
}
}
cilea: {
}
}
cilea: {
- file {
- '/etc/ferm/conf.d/load_sip_conntrack.conf':
- source => 'puppet:///modules/ferm/conntrack_sip.conf',
- require => Package['ferm'],
- notify => Exec['ferm restart'];
- }
+ ferm::module { 'nf_conntrack_sip': }
+ ferm::module { 'nf_conntrack_h323': }
+
@ferm::rule { 'dsa-sip':
domain => '(ip ip6)',
description => 'Allow sip access',
@ferm::rule { 'dsa-sip':
domain => '(ip ip6)',
description => 'Allow sip access',
@@
-202,6
+192,7
@@
def $FREEBSD_HOSTS=($ADDRESS_FANO $ADDRESS_FINZI);
policy ACCEPT;
mod state state (ESTABLISHED RELATED) ACCEPT;
interface br0 outerface br0 ACCEPT;
policy ACCEPT;
mod state state (ESTABLISHED RELATED) ACCEPT;
interface br0 outerface br0 ACCEPT;
+interface br1 outerface br1 ACCEPT;
interface br2 outerface br0 jump from-kfreebsd;
interface br0 destination ($FREEBSD_HOSTS) jump to-kfreebsd;
interface br2 outerface br0 jump from-kfreebsd;
interface br0 destination ($FREEBSD_HOSTS) jump to-kfreebsd;