Hello,
I have created some firewall rules for a container but I can not see them in iptables. Rules:
I tried restarting the firewall with "pve-firewall restart" and "/etc/init.d/pve-firewall restart" but nothing seems to work.
In the WebUI for the node and the container the "Enable Firewall" options is set to "Yes".
I never used the firewall in proxmox before. Am I missing a step to activate it ?
Thanks.
I have created some firewall rules for a container but I can not see them in iptables. Rules:
# cat /etc/pve/firewall/101.fw
[OPTIONS]
enable: 1
[RULES]
IN ACCEPT -p tcp -dport 22
IN DROP
# iptables -nvL
Chain INPUT (policy ACCEPT 55216 packets, 6154K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 48885 packets, 8279K bytes)
pkts bytes target prot opt in out source destination
I tried restarting the firewall with "pve-firewall restart" and "/etc/init.d/pve-firewall restart" but nothing seems to work.
In the WebUI for the node and the container the "Enable Firewall" options is set to "Yes".
I never used the firewall in proxmox before. Am I missing a step to activate it ?
Thanks.