Skip to content

Commit 409f8e2

Browse files
authored
Merge pull request #324 from HPNDdnsh/master
Firewall.md
2 parents 28e2c08 + b991d21 commit 409f8e2

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

docs/best-practices/firewall.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
myst:
3+
html_meta:
4+
description: How can you whitelist an IP address
5+
title: Firewall
6+
---
7+
8+
# Firewall
9+
10+
In the text below we will explain how you can add an IP to the whitelist by using the control panel or CLI (command-line interface). Whitelisting an IP can be for multiple reasons like, connecting via FTP, connecting to a database or for security scans like ForusP.
11+
12+
## Adding IP Addresses in the allowlist via the control panel for FTP, WAF and database
13+
14+
Follow these steps to whitelist an IP addresses for FTP:
15+
16+
- Go to the [control panel](https://my.hypernode.com)
17+
- Log in with your credentials
18+
- Once logged in, select the Hypernode you wish to configure
19+
- Click on **Allowlist** from the menu
20+
- Select **Rule type** and choose here for example **FTP** from the dropdown
21+
- Enter the IP address you want to add to the whitelist
22+
- Provide a descriptive name for the entry for example **OfficeArnhem**. Use descriptive names when adding entries to help identify their purpose in the future.
23+
- Click on **Save** to apply the changes
24+
25+
### Adding IP Addresses by using CLI
26+
27+
For users comfortable with the CLI, you can add the IP addresses directly on the server. This requires logging into the server using SSH.
28+
29+
```bash
30+
hypernode-systemctl whitelist add ftp 1.2.3.4 --description "OfficeArnhem"
31+
```
32+
33+
If you want to remove an added registration, use the command below:
34+
35+
```bash
36+
hypernode-systemctl whitelist remove ftp 1.2.3.4
37+
```
38+
39+
## How to add ForusP to the whitelist
40+
41+
To ensure that ForusP can perform their scan on your Hypernode without anyissues, the IP addresses associated with ForusP must be added to the Hypernode Web Application Firewall (WAF). The WAF acts as a layer of protection by filtering incoming traffic and blocking potential threats. Adding the necessary IP addresses to the allowlist ensures that the scanning process runs smoothly without interruptions. You can achieve this by either using the Hypernode Control Panel or by executing commands directly on the server using the command-line interface (CLI).
42+
43+
### Adding IP Addresses in the allowlist via the Control Panel
44+
45+
Follow these steps to add ForusP's IP addresses using the Hypernode Control Panel:
46+
47+
- Go to to my.hypernode.com
48+
- Log in with your credentials
49+
- Once logged in, select the Hypernode you wish to configure
50+
- Click on **Allowlist** from the menu
51+
- Select **Rule type** and choose **WAF** from the dropdown
52+
- Enter the IP address you want to allow
53+
IP addresses ForusP: **154.16.73.227** | **132.226.222.205** | **144.24.249.196**
54+
- Provide a descriptive name for the entry for example ForusP. Use descriptive names when adding entries to help identify their purpose in the future.
55+
- Click on **Save** to apply the changes
56+
57+
Repeat the steps above to add the others. The IP addresses you add will become active within a few minutes, allowing ForusP to access your Hypernode environment without being blocked by the firewall.
58+
59+
### Adding IP Addresses by using CLI
60+
61+
For users comfortable with the command-line interface, you can add the IP addresses directly on the server. This requires logging into the server using SSH. Follow these steps:
62+
63+
```bash
64+
hypernode-systemctl whitelist add waf 154.16.73.227 --description "ForusP"
65+
```
66+
67+
```bash
68+
hypernode-systemctl whitelist add waf 132.226.222.205 --description "ForusP"
69+
```
70+
71+
```bash
72+
hypernode-systemctl whitelist add waf 144.24.249.196 --description "ForusP"
73+
```
74+
75+
By following the steps outlined above, you can ensure that ForusP has the necessary access to perform scans on your Hypernode environment without encountering any firewall-related issues. Proper configuration of the WAF helps maintain a secure and efficient system while allowing trusted services to operate seamlessly.

0 commit comments

Comments
 (0)