Command 'juju set-firewall-rule'

Usage:

juju set-firewall-rule [options] <service-name>, --whitelist <cidr>[,<cidr>...]

Summary:

Sets a firewall rule.

Global Options:

--debug  (= false)

Equivalent to --show-log --logging-config==DEBUG

-h, --help  (= false)

Show help on a command or other topic.

--logging-config (= "")

Specify log levels for modules

--quiet  (= false)

Show no informational output

--show-log  (= false)

If set, write the log file to stderr

--verbose  (= false)

Show more verbose output

Command Options:

-m, --model (= "")

Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>

--whitelist (= "")

List of subnets to whitelist

Details:

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

Examples:

juju set-firewall-rule ssh --whitelist 192.168.1.0/16

See also: list-firewall-rules


Last updated 1 year, 1 month ago.