Hi all, i have a strange problem and i am struggling to find a solution.
I am running pve-manager/5.4-13/aee6f0ec (running kernel: 4.15.18-21-pve)
On whatever CT/VM if i add a rule "DROP" or "REJECT" it does not work.
Example: IN DROP -source 165.227.165.224/32 -log nolog
The IP address 165.227.165.224 is still able to connect just fine. I have also tried to add this ip into the blacklist IPSet then adding drop all from ipset_name but same result.
CT firewall:
Host.fw on each node:
and cluster.fw:
pve-firewall compile reports "no changes" and also there is no error. Tried also pve-firewall restart without any issue.
The firewall it filters correctly all open/closed ports but it does not block using DROP or REJECT rules.
What can i do?
Thank you!
I am running pve-manager/5.4-13/aee6f0ec (running kernel: 4.15.18-21-pve)
On whatever CT/VM if i add a rule "DROP" or "REJECT" it does not work.
Example: IN DROP -source 165.227.165.224/32 -log nolog
The IP address 165.227.165.224 is still able to connect just fine. I have also tried to add this ip into the blacklist IPSet then adding drop all from ipset_name but same result.
CT firewall:
Bash:
[OPTIONS]
ipfilter: 1
log_level_in: nolog
radv: 0
macfilter: 1
enable: 1
ndp: 0
dhcp: 0
[RULES]
IN DROP -source 165.227.165.224/32 -log nolog
GROUP web
Host.fw on each node:
Bash:
[OPTIONS]
tcpflags: 1
ndp: 0
[RULES]
IN HTTP(ACCEPT) -log nolog
GROUP storage
GROUP proxmox
and cluster.fw:
Bash:
[OPTIONS]
ebtables: 1
enable: 1
[IPSET blacklist]
165.227.165.224
[IPSET constanta]
82.79.12.122
[IPSET milano]
109.168.54.64/28
78.6.25.208/29
[IPSET roma]
195.78.209.80/28
[IPSET storage]
192.168.150.0/24
192.168.152.0/24
[IPSET verizon]
185.70.116.0/22
185.70.117.0/24
195.78.209.87
212.177.183.128/27
212.4.14.192/28
212.4.14.206
212.4.22.0/28
212.4.24.64/26
212.4.7.112/28
[group proxmox]
IN SSH(ACCEPT) -source +storage -log nolog
IN ACCEPT -source +storage -p tcp -dport 8006 -log nolog
IN Ping(ACCEPT) -source +storage -log nolog
IN Ping(ACCEPT) -source +constanta -log nolog
IN ACCEPT -source +constanta -p tcp -dport 8006 -log nolog
IN SSH(ACCEPT) -source +constanta -log nolog
IN Ping(ACCEPT) -source +milano -log nolog
IN Ping(ACCEPT) -source +verizon -log nolog
IN SSH(ACCEPT) -source +verizon -log nolog
IN SSH(ACCEPT) -source +milano -log nolog
IN ACCEPT -source +verizon -p tcp -dport 8006 -log nolog
IN ACCEPT -source +milano -p tcp -dport 8006 -log nolog
[group storage]
IN Ping(ACCEPT) -source +storage -log nolog
IN Ceph(ACCEPT) -source +storage -log nolog
[group web]
IN DROP -source +blacklist -log nolog
IN Webmin(ACCEPT) -source +verizon -log nolog
IN Webmin(ACCEPT) -source +roma -log nolog
IN Webmin(ACCEPT) -source +milano -log nolog
IN Webmin(ACCEPT) -source +constanta -log nolog
IN ACCEPT -p tcp -dport 21 -log nolog
IN FTP(ACCEPT) -log nolog
IN HTTPS(ACCEPT) -log nolog
IN HTTP(ACCEPT) -log nolog
IN ACCEPT -p tcp -dport 30000:50000 -log nolog # FTP Passive
pve-firewall compile reports "no changes" and also there is no error. Tried also pve-firewall restart without any issue.
The firewall it filters correctly all open/closed ports but it does not block using DROP or REJECT rules.
What can i do?
Thank you!
Last edited: