All pastes #639462 Raw Edit

Untitled

public text v1 · immutable
#639462 ·published 2007-07-30 16:18 UTC
rendered paste body
    # 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,
    }