Hello,
I using a 3 Node Proxmox 4.1 Cluster with PVE-Firewall.
The BSI Team makes a Pentest on my Server and have reported, that rpcbind and squid-http port is open.
So i think ok, and add rules to drop the ports 111 and 3128 tcp/udp.
But the Firewall doesn't block the Ports (other Settings working).
pve-firewall is restarted and the command pve-firewall status gives the output:
my config firewall/cluster.fw:
What is wrong ?
I using a 3 Node Proxmox 4.1 Cluster with PVE-Firewall.
The BSI Team makes a Pentest on my Server and have reported, that rpcbind and squid-http port is open.
So i think ok, and add rules to drop the ports 111 and 3128 tcp/udp.
But the Firewall doesn't block the Ports (other Settings working).
pve-firewall is restarted and the command pve-firewall status gives the output:
Code:
Status: enabled/running (pending changes)
my config firewall/cluster.fw:
Code:
root@node2 ~ # cat /etc/pve/firewall/cluster.fw
[OPTIONS]
enable: 1
policy_in: DROP
[ALIASES]
VMBR80 10.2.3.0/24 # tinc vpn network
vpn 0.0.0.0/0
VMBR0 192.168.81.0/24
[IPSET home] # Management Zugang
1.2.3.4/24 # LTE Netz-2
1.2.3.5/24 # T-Mobile LTE Netz
2.3.4.5# Se7en MMI Datencenter
3.4.5.6 # Wasser Tirol
4.5.6.7 # Noesslach Business ADSL
[IPSET wan] # eth0 on all Nodes
7.7.7.144 # node3
8.8.8.201 # node4
9.9.9.67 # node2
[RULES]
GROUP tincvpn -i vpn # cluster communication
GROUP tincvpn -i vmbr80 # cluster communication
GROUP internet -i eth0 # WAN
[group internet]
IN DROP -dest +wan -p udp -dport 111 # portmapper
IN DROP -dest +wan -p tcp -dport 111 # portmapper
IN SMTPS(ACCEPT) -dest +wan # MX
IN SMTP(ACCEPT) -dest +wan # MX
IN ACCEPT -dest +wan -p udp -dport 655 # tinc vpn
IN ACCEPT -dest +wan -p tcp -dport 655 # tinc vpn
IN ACCEPT -source +home -dest +wan -p tcp -dport 5900:5999 # webvnc
IN ACCEPT -source +home -dest +wan -p tcp -dport 8006
IN Ping(ACCEPT) -dest +wan
IN SSH(ACCEPT) -dest +wan
[group tincvpn] # tinc vpn
IN SSH(ACCEPT) -dest vmbr80
IN Ceph(ACCEPT) -dest vpn
IN Ceph(ACCEPT) -source vpn # all ports vpn net
IN Ceph(ACCEPT) -source vmbr80
IN Ceph(ACCEPT) -dest vmbr80
IN ACCEPT -source vmbr80 -p igmp -dport 1:50000 # all ports vmbr80
IN ACCEPT -source vmbr80 -p udp -dport 1:50000 # all ports
IN ACCEPT -source vmbr80 -p tcp -dport 1:50000 # all ports
IN ACCEPT -source vpn -p igmp -dport 1:50000 # all ports vpn net
IN ACCEPT -source vpn -p udp -dport 1:50000 # all ports vpn net
IN ACCEPT -source vpn -p tcp -dport 1:50000 # all ports vpn net
IN ACCEPT -dest vmbr80
IN ACCEPT -source vmbr80
root@node2 ~ #
What is wrong ?