Problems Proxmox Firewall Configuration Ports

gsanz

Member
Apr 5, 2020
11
0
6
42
Hello I am working with Proxmox and want to block some ports of them . I have used ProxMox GUI and followed these steps:


1-I enable firewall on the network machine

2- I put in the firewall the input policy options: ACCEPT and OUTPUT policy ACCEPT
3. In the Hardware section of the network machine, the firewall is enabled
4- Now I add the port with the following options. For example, for port 27017 these options would be set:
DIRECTION: IN
ACTION: DROP
PROTOCOL: TCP
DEST.PORT: 27017
After doing these steps I make a request to the port and it is still active. I do the following:

curl -XGET http://37.153.93.72:27017
It looks like you are trying to access MongoDB over HTTP on the native driver port.

Any ideas about something that is wrong or may be missing?
Thanks a lot.
Cheers
Gorka
 

Attachments

Did you enable the firewall on a datacenter level? Datacenter -> Firewall -> Options.

Without that enabled, it will not be enabled on a node or guest level.
 
Yes I have checked that it is enabled
Your screenshow shows the firewall on host level, not on datacenter level.