We have the basis for this functionality in the agent already, but it's not (yet) used when creating security groups, ie it just needs to be wired up.
eg $ juju set-firewall-rule ssh --whitelist 192.168.1.0/8,10.10.1.0/8
The other options are "juju-controller" and "juju-application-offer"
eg juju set-firewall-rule juju-controller --whitelist 192.168.1.0/8 juju set-firewall-rule juju-application-offer --whitelist 192.168.1.0/8
The "juju-controller" rule is meant to limit client connections to the controller.
The "juju-application-offer" rule is the only one currently supported fully - it is used to limit cross model consumer connections to offered applications.
We have the basis for this functionality in the agent already, but it's not (yet) used when creating security groups, ie it just needs to be wired up.
eg 1.0/8,10. 10.1.0/ 8
$ juju set-firewall-rule ssh --whitelist 192.168.
The other options are "juju-controller" and "juju-applicati on-offer"
eg n-offer --whitelist 192.168.1.0/8
juju set-firewall-rule juju-controller --whitelist 192.168.1.0/8
juju set-firewall-rule juju-applicatio
The "juju-controller" rule is meant to limit client connections to the controller.
The "juju-applicati on-offer" rule is the only one currently supported fully - it is used to limit cross model consumer connections to offered applications.