SSH bastion can be restricted by defining ranges of IPs that are allowed to connect. The default entry of 0.0.0.0/0 allows all IPs to connect.
Set all IP ranges allowed for SSH bastion
Set a definitive list of IP ranges (in CIDR notation) allowed to connect to the SSH bastion.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway on which to set the allowed IP range.
Set all IP ranges allowed for SSH bastion › Request Body
ip_rangesNew list of IP ranges (each range in CIDR notation) allowed to connect to the SSH bastion.
Set all IP ranges allowed for SSH bastion › Responses
ip_rangesRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
Add allowed IP range to SSH bastion
Add an IP range (in CIDR notation) to be allowed to connect to the SSH bastion.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway to add the allowed IP range to.
Add allowed IP range to SSH bastion › Request Body
ip_rangeIP range allowed to connect to the SSH bastion. (IP network)
Add allowed IP range to SSH bastion › Responses
ip_rangesRanges of IP addresses allowed to connect to the gateway's SSH bastion. (IP network)
Delete allowed IP range from SSH bastion
Delete an IP range (defined in CIDR notation) from SSH bastion, so that it is no longer allowed to connect.
path Parameters
zoneThe zone you want to target
gateway_idID of the gateway on which to delete the allowed IP range.
ip_rangeIP range to delete from SSH bastion's list of allowed IPs. (IP network)