Don't create gateways or rules unless managed
This commit is contained in:
parent
aee130f65f
commit
c52a1845e3
|
@ -499,10 +499,12 @@ add rule inet filter forward ip6 saddr {netaddr6} counter jump {vxlannic}-out
|
||||||
)
|
)
|
||||||
|
|
||||||
def createFirewall(self):
|
def createFirewall(self):
|
||||||
|
if self.nettype == 'managed':
|
||||||
# For future use
|
# For future use
|
||||||
self.updateFirewallRules()
|
self.updateFirewallRules()
|
||||||
|
|
||||||
def createGateways(self):
|
def createGateways(self):
|
||||||
|
if self.nettype == 'managed':
|
||||||
if self.ip6_gateway != 'None':
|
if self.ip6_gateway != 'None':
|
||||||
self.createGateway6Address()
|
self.createGateway6Address()
|
||||||
if self.ip4_gateway != 'None':
|
if self.ip4_gateway != 'None':
|
||||||
|
|
Loading…
Reference in New Issue