Firewall
Allow an IP address or range to connect to a site over SSH and to see the site while it is in maintenance mode or behind a password.
On this page
Before you start
- You can open the site in Managed Websites. Anyone who can open a site can change its firewall.
- If your organisation requires two-factor authentication, it is on for your account.
- You know the public IP address or range to allow, in an accepted format. The dialog offers your own.
Add an address
Open Firewall
Go to Managed Websites, choose the site, then Firewall under Access & security. Each environment has its own list: check the environment in the site header.
Enter the address
Choose Add an IP address. Enter one address or a range in Address or range, such as
198.51.100.24or198.51.100.0/24, or choose Use my current IP.Choose where it applies
Under Where it applies, choose This environment, Website for every environment of the website, or Company for every environment of your organisation.
Choose what it opens
Under Scope, choose what the address may do.
Scope The address can SSH and website Connect over SSH, skip the site's password protection and see the site in maintenance mode SSH only Connect over SSH Website only Skip the site's password protection and see the site in maintenance mode Set an expiry and a comment
Under Expires, keep No expiry or choose 1 day, 30 days, 90 days or 365 days. Use Comment to say whose address it is.
Add it
Choose Add. The address appears in the list as Applying, then Applied with the time.
SSH is open only to addresses on the list. Visitors to your website are not affected.
Change or remove an address
Open the address's menu
Open the … menu on the address.
Edit or remove it
Choose Edit… to change the comment, expiry or scope, then Save changes. Choose Remove… to delete it: enter the address under Type the address to confirm and choose Remove.
An address under Company or Website is changed where it was added: follow Edit at the company or Edit at the website on its group.
Addresses for every environment of the organisation are on Organisation firewall, and your own on My IP addresses.
Address format
An address is one public IPv4 or IPv6 address, such as 198.51.100.24, or a range written as a network and prefix, such as 198.51.100.0/24.
| Limit | Value |
|---|---|
| Addresses in one list | 200 |
| Widest range you can add yourself | /24 for IPv4, /48 for IPv6 |
Wider ranges, up to /9 | Reviewed by Corefinity before they apply |
| IPv6 addresses | Website access only |
| Comment | 200 characters |
Automate this
Adds an address or a range at one level: a company, a website, one environment, or yourself.
curl -X POST https://manage.corefinity.com/api/firewall/entries \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"address": "198.51.100.0/24",
"comment": "Head office",
"owner_id": 1204,
"owner_type": "company",
"scope": "ssh"
}'Your assistant calls corestack_firewall_entry_add.
{
"name": "corestack_firewall_entry_add",
"arguments": {
"owner": {
"type": "environment",
"id": 9120
},
"address": "203.0.113.7",
"comment": "Office"
}
}