juju set-firewall-rule [options] <service-name>, --whitelist <cidr>[,<cidr>...]
Sets a firewall rule.
-m, --model (= "")
Model to operate in. Accepts
[<controller name>:]<model name>
--whitelist (= "")
list of subnets to whitelist
Firewall rules control ingress to a well known services within a Juju model. A rule consists of the service name and a whitelist of allowed ingress subnets.
The currently supported services are:
-ssh -juju-controller -juju-application-offer
juju set-firewall-rule ssh --whitelist 192.168.1.0/16 juju set-firewall-rule juju-controller --whitelist 192.168.1.0/16 juju set-firewall-rule juju-application-offer --whitelist 192.168.1.0/16