Untitled
public text v1 · immutable # Firewall Rules, allow SSH, SIP(TCP 5060), IAX2(UDP 4569), SIP(UDP 5060), RTP(UDP 10000:10500)
$tcpPorts = [ 22, 5060 ]
$udpPorts = [ 4569, 5060, 10000:10500 ]
$custom = [ ]
iptables { '/etc/sysconfig/iptables':
content => template('/var/lib/puppet/config/system/iptables-template.conf.erb'),
}
service { iptables:
ensure => running,
hasstatus => true,
}