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.