You should allow the following IP ranges:
- 188.8.131.52/24 (184.108.40.206 - 220.127.116.11)
For deployments to work correctly you should also ensure that the correct ports are open on your firewall. These vary by protocol:
- Passive FTP - ports 20, 21 and all ports higher than 1023
- Active FTP - port 21
- SSH/SFTP - port 22
These IP ranges are used to host all of our applications, including DeployHQ.
The default firewall configuration tool for Ubuntu is
ufw and if you're running a dedicated Linux server, you should have access to it.
To allow an IP range through ufw, enter the following into your terminal:
$ sudo ufw allow from 18.104.22.168/24
And if you wish to restrict connections from a range to a specific TCP network port:
$ sudo ufw allow from 22.214.171.124/24 to any port 22 proto tcp
You can read more about ufw here.
With CentOS, you can use
firewalld which works in a very similar way. to Ubuntu's
ufw. To whitelist an IP range, run the following command in your terminal:
$ sudo firewall-cmd --zone=public --add-source=126.96.36.199/24
You can find more information about firewalld here