changed config to cidr format
This commit is contained in:
parent
52a0937a9d
commit
fa7f5a7b4e
|
@ -1,6 +1,3 @@
|
||||||
---
|
---
|
||||||
prefix4: 10.112.0.0
|
prefix4: 10.112.0.0/18
|
||||||
netmask4: 255.255.192.0
|
prefix6: 2a03:2267::/64
|
||||||
|
|
||||||
prefix6: 2a03:2267:0000:0000:0000:0000:0000:0000
|
|
||||||
netmask6: ffff:ffff:ffff:ffff:0000:0000:0000:0000
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ restrict -6 ::1
|
||||||
# Disable the monlist request as this is associated with ntp
|
# Disable the monlist request as this is associated with ntp
|
||||||
# amplification attacks
|
# amplification attacks
|
||||||
disable monitor
|
disable monitor
|
||||||
|
restrict {{ prefix4.split("/")[0] }} mask {{ prefix4 | ipaddr('netmask') }} nomodify notrap nopeer
|
||||||
restrict {{ prefix4 }} mask {{ netmask4 }} nomodify notrap nopeer
|
restrict {{ prefix6.split("/")[0] }} mask {{ prefix6 | ipaddr('netmask') }} nomodify notrap nopeer
|
||||||
restrict {{ prefix6 }} mask {{ netmask6 }} nomodify notrap nopeer
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue