Skip to main content

Firewall is blocking node traffic

If your node receives connection attempts but sessions fail, your firewall may be blocking required traffic.

Written by Andzej Korkuz

Check firewall rules

Run

# iptables -L -n 
# iptables -L -n -t nat

Look for:

  1. Blocked or restricted UDP traffic

  2. Forwarding rules set to DROP

Allow forwarding

sudo iptables -P FORWARD ACCEPT

Test without firewall (temporary)

To confirm if the firewall is the issue:

sudo iptables -F
sudo iptables -t nat -F

After testing

  1. Restart your node

  2. Run a connection test

  3. If it works, configure proper firewall rules instead of leaving it disabled

Did this answer your question?