Host running 5.0-32 suddenly shuts down when iptable rules set

cehrig

New Member
Oct 19, 2017
2
0
1
54
Hi everybody,

i just set up a standalone Proxmox VE 5.0-32 host and installed an iptables rule set to secure everything, that should not get exposed to the internet:

Chain INPUT (policy DROP 8 packets, 442 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * * 127.0.0.1 0.0.0.0/0
88 7768 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
1 910 ACCEPT all -- * * <my static inet IP> 0.0.0.0/0

Where port 80 and 443 getting DNAT'ed to a VM:

Chain PREROUTING (policy ACCEPT 81 packets, 4446 bytes)
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- vmbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 to:10.0.0.10
0 0 DNAT tcp -- vmbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 to:10.0.0.10

I have configured vmbr1 on the host to use the IP 10.0.0.1, to run my VMs in bridged mode.

However, after a certain amount of time the Host just reboots. No Erros, No Logs, Nothing. It is reproducible as soon as the above rule set is applied.

My first guess was, that it is related to pvesr.timer, since that was the only thing spawning minutely. But after disabling that service, the problem still occurs.

Any ideas?
 
Problem solved & It was not related to Proxmox.

My provider (OVH) reboots servers automatically, that have the Monitoring Option enabled & do not respond to ICMP packets.
 

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!