[SOLVED] Host unreachable with firewall

Laurent Minne

New Member
Jun 11, 2018
9
0
1
49
Belgium
www.probetech.be
Hello all,
I am currently configuring my firewall and I have an issue when I activate it I can't reach my host...

So, my case :

I have add two rules in "Datacenter" to open 22/tcp & 8006/tcp, the source is set at 0.0.0.0 and the destination is set up at 149.202.X.X.

Content of /etc/pve/firewall/cluster.fw
Code:
[RULES]
IN ACCEPT -i vmbr0 -source 0.0.0.0 -dest 149.202.X.X -p tcp -dport 8006 -sport 8006 # Proxmox WebGUI
IN SSH(ACCEPT) -i vmbr0 -source 0.0.0.0 -dest 149.202.X.X # SSH Access

When I switch to enable the firewall on the "Datacenter" my proxmox become unreachable after few seconds...

I don't understand where is my misstake.

Someone have idea to help me ?

In advance thank you for your interest.
 
If you remove the source address it should be any (0.0.0.0/0). If you specify one it is assumed to be /32.
 
  • Like
Reactions: Laurent Minne