Enterprise firewall
Allow an IP address or range to connect to a CoreStack Enterprise environment over SSH.
On this page
Before you start
- You can open the environment: see Websites and environments.
- You know the public IP address or range to allow: see Firewall for what is accepted.
- On CoreStack Enterprise the firewall covers SSH only. Visitors to the website are not affected.
Add an address
Open Firewall
Open the environment and choose Firewall. The list shows every address that reaches this environment and where it was added: the environment, the website or your organisation.
Enter the address
Choose Add an IP address and enter one address or a range in Address or range, or choose Use my current IP.
Choose where it applies
Where it applies sets how far the address reaches: This environment, Website or Company.
Add it
Set Expires and a Comment if you want them, then choose Add.
The address reads Applying, then Applied. Editing and removing an address work as on a site: see Firewall.
See a website's or the organisation's addresses
| Addresses added for | Are listed on |
|---|---|
| Every environment of one website | The website's page, under Firewall. |
| Every environment of your organisation | Organisation firewall. |
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"
}
}