Hello
My setup:
a Hetzner dedicated server with 1 ip
a Proxmox installation on the dedi server with masquerade nat
data centre firewall, node firewall and vm firewall are enabled
a web server vm on the Proxmox installation
a number of ports forwarded with iptables
Namely, I have forwarded a port from my public ip to a vm but want to be able to block that port as well without having to delete the iptable rule.
Is it possible to block a port forwarded by iptables?
Update:
I just discovered that if I indicate firewall by network device when creating the VM, it should work. Only then I can't ping 8.8.8.8 from inside my VM.
Anyone know what I'm doing wrong?
My setup:
a Hetzner dedicated server with 1 ip
a Proxmox installation on the dedi server with masquerade nat
data centre firewall, node firewall and vm firewall are enabled
a web server vm on the Proxmox installation
a number of ports forwarded with iptables
Namely, I have forwarded a port from my public ip to a vm but want to be able to block that port as well without having to delete the iptable rule.
Is it possible to block a port forwarded by iptables?
Update:
I just discovered that if I indicate firewall by network device when creating the VM, it should work. Only then I can't ping 8.8.8.8 from inside my VM.
Anyone know what I'm doing wrong?
Last edited: