FlashVPS allows you to manage your server's firewall and configure which servers can connect to other servers through the Network Management Panel in the Network tab of your server.
! Manually Add Rules.
If you manually create aufw
rule on your server, FlashVPS will allow you to easily Sync from the server the added rules.
You can configure and manage your firewall from within the FlashVPS console via the Network tab on the server's management console. Firewalls are used to open ports on your server to the Internet. For example, when using FTP, you may need to open the 21
. For added security, you can restrict opened ports to specific IP addresses. Steps to configure a firewall:
Network
> List information about the firewall rule:(8000:8010)
, which will open all 8000
incoming ports 8010
.từ chối
rule, you will prevent traffic from reaching the service.! Deny Rule Run First.
To make thedeny
rules work correctly, they are added with a higher priority than theallow
rules. Eachdeny
new rule will be added on top of alldeny
existing rules.
When installing the server. FlashVPS will automatically configure 3 rules:
22
from any IP address80
from any IP address443
from any IP addressYou should note that although incoming access is allowed on the port 22
for SSH connections, SSH connections that do not use an SSH Key will not be accepted. Therefore, it is not possible to force an SSH connection to your server. You must never remove a rule that allows SSH access to your server; otherwise, FlashVPS will not be able to connect to or manage your server .
If you removed the firewall rule (usually port 22) from the FlashVPS UI or directly on the server, FlashVPS won't be able to connect to the server and won't be able to recreate the rule for you.
To fix this, you will need to access the server directly through your provider and manually re-add the SSH port. DigitalOcean allows you to connect remotely through their control panel.
FlashVPS uses ufw
for firewalls, so once you are connected to the server you need to run the following as root:ufw allow 22
FlashVPS allows you to synchronize rules that have been manually added at the server with the system. At the tab Network
> SelectĐồng bộ từ máy chủ