[SOLVED] Host unreachable with firewall

Laurent Minne

New Member
Jun 11, 2018
9
0
1
47
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!