diff options
author | Micah Anderson <micah@riseup.net> | 2013-01-17 14:33:22 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-01-17 14:33:22 -0500 |
commit | 9d66c6712028c95212dba7a8d5a870efc70ce204 (patch) | |
tree | d737770d4f99afb3f019db6527444e0f40249be4 /puppet/modules | |
parent | ff1c732fbe76abe8fcb39e82233ad76e6acf3ab8 (diff) |
change to using the CIDR notation for unbound access list
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_openvpn/manifests/resolver.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_openvpn/manifests/resolver.pp b/puppet/modules/site_openvpn/manifests/resolver.pp index c695b49a..d77fd8b0 100644 --- a/puppet/modules/site_openvpn/manifests/resolver.pp +++ b/puppet/modules/site_openvpn/manifests/resolver.pp @@ -22,12 +22,12 @@ class site_openvpn::resolver { file { '/etc/unbound/conf.d/vpn_udp_resolver': - content => "interface: ${site_openvpn::openvpn_udp_network_prefix}.1\naccess-control: ${site_openvpn::openvpn_udp_network_prefix}.0/${site_openvpn::openvpn_udp_netmask} allow\n", + content => "interface: ${site_openvpn::openvpn_udp_network_prefix}.1\naccess-control: ${site_openvpn::openvpn_udp_network_prefix}.0/${site_openvpn::openvpn_udp_cdr} allow\n", owner => root, group => root, mode => '0644', require => Service['openvpn']; '/etc/unbound/conf.d/vpn_tcp_resolver': - content => "interface: ${site_openvpn::openvpn_tcp_network_prefix}.1\naccess-control: ${site_openvpn::openvpn_tcp_network_prefix}.0/${site_openvpn::openvpn_tcp_netmask} allow\n", + content => "interface: ${site_openvpn::openvpn_tcp_network_prefix}.1\naccess-control: ${site_openvpn::openvpn_tcp_network_prefix}.0/${site_openvpn::openvpn_tcp_cdr} allow\n", owner => root, group => root, mode => '0644', require => Service['openvpn']; } |