IP Address Restriction Commands

addallowedip

Adds an IPv4 address or a netblock in CIDR format for a single user.

addallowedip username ip/cidr

Example:

addallowedip user1@company.com 123.234.232.0/24

Use listallowedips to see existing IPs.

For Account Administrators only.

addipaddrforaccount

Add an IPv4 address and a netblock in CIDR format for an account.

addipaddrforaccount ip/cidr

Example:

addipaddrforaccount 123.234.232.0/24

Use listipaddrsforaccount to see existing IPs and CIDRs.

For Account Administrators only.

The equivalent web service is called AddAllowedIPAddrForAccount.

listallowedips

Lists all IPv4 addresses and netblocks from where the user can log in. Results include both user and account iPv4 and netblocks.

listallowedips username

Example:

listallowedips brain@acmelabs.com

For Account Administrators only.

listipaddrsforaccount

Lists all IPv4 addresses and netblocks from where users in the account can log in.

For Account Administrators only.

removeallowedip

Remove an IPv4 address or a netblock in CIDR format.

removeallowedip username ip/cidr

For Account Administrators only.

removeipaddrforaccount

Remove an IPv4 address or a netblock in CIDR format.

removeipaddrforaccount ip/cidr

Example:

removeipaddrforaccount 123.234.232.0/24

For Account Administrators only.