ceph: allow connections from more addresses
Should unhardcode this at some point.
This commit is contained in:
parent
d399fc0a24
commit
c395fe22c7
|
@ -5,9 +5,13 @@ flush ruleset
|
|||
# Just a temporary filter until we get our shit together policy-wise.
|
||||
table inet filter {
|
||||
set allowed {
|
||||
type ipv4_addr
|
||||
flags interval
|
||||
elements = { 10.32.0.0/14, 193.2.76.176/24, 192.168.19.0/24, 192.168.251.0/24 }
|
||||
type ipv4_addr; flags interval
|
||||
elements = { 10.32.0.0/14, 193.2.76.176/24, 192.168.19.0/24, 192.168.251.0/24, 88.200.23.0/24 }
|
||||
}
|
||||
|
||||
set allowed/6 {
|
||||
type ipv6_addr; flags interval
|
||||
elements = { 2001:1470:fffd::/48 }
|
||||
}
|
||||
|
||||
chain input {
|
||||
|
@ -21,6 +25,7 @@ table inet filter {
|
|||
iif lan1 ip6 saddr fe80::/64 accept
|
||||
|
||||
ip saddr @allowed accept
|
||||
ip6 saddr @allowed/6 accept
|
||||
}
|
||||
|
||||
chain forward {
|
||||
|
|
Loading…
Reference in a new issue