Firewall Configurations
The UFW firewall can be used to control the network access to your node With any new installation, UFW is disabled by default. You will have to enable it with the following steps:
Deny any incoming and outgoing traffit
Allow ssh access
Allow cardano-node p2p port
Allow chrony ntp
Enable Firewall
Verify status
Only open these following ports on nodes behind a network firewall Allow grafana web server port
Allow prometheus endpoint port
Allow prometheus cardano-node metric data port
This next step is optional but recomended to follow Permitting connections from a specific IP can be set up by following these next commands
Example
sudo ufw allow from (182.382.84.22)
Last updated