Iptables configuration on Proxmox host

shibly

New Member
Jan 19, 2015
1
0
1
I am very new in Proxmox world. Could you guys help me to configure iptables on Proxmox host machines like only from 192.168.0.0/24 network ssh, http, https and 8006 ports are accessible other than those deny all but on the guest machines all ports are opened?:confused:
 
please compare the files - e.g. /etc/pve is empty.
beside that how to deactivate the firewall under pve4 if you lock out yourself and you have no access to the host via ssh but through a rescue system. any idea?
 
EDIT:
/etc/pve is a fuse mount, part of the pve-cluster service, if you can chroot into the system you can run pmxcfs -l to run it in local mode, then edit /etc/pve.
 

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!