HI,Hello
In the firewall options of a VM, there are the options 'DHCP' and 'NDP'. What do they do?
When eg. 'DHCP' is set to 'Yes', does the VM send out DHCP requests? Or does he instead replies to DHCP requests?
Thank you
You can see all the firewall rules by runningHello
What traffic is allowed when these options are activated? Incoming or outgoing?
I don't see these rules in the firewall. Are they invisible applied in the background? If so, how can I view all firewall rules, also the invisible ones?
Another question regarding the firewall. When the firewall is activated on an interface, are the rules applied when the 'Firewall' option in 'Firewall > Options' is set to 'No'?
Same question for the logging. When a firewall rule has logging activated, is the log for that rule saved when eg. the 'log_level_in' option in 'Firewall > Options' is set to 'nolog'?
Thank you
iptables-save
on the node. The rules are only applied if the firewall is enabled at datacenter level as well as for the VM and the corresponding NIC. Further, the log level defined for individual rules is independent of the log level set in Firewall->Options. For further details you might want to have a look at https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_pve_firewallOn our systems, Proxmox (7.4-3) adds following rules to the firewall with that flag enabled:You can see all the firewall rules by runningiptables-save
on the node.
-A tap120i0-IN -p udp -m udp --sport 67 --dport 68 -j ACCEPT
-A tap120i0-OUT -p udp -m udp --sport 68 --dport 67 -g PVEFW-SET-ACCEPT-MARK
Yes,Hello!
Is there a possibility to active/deactivate the DHCP and NDP options via CLI?
pvesh
on the cli or use the api. For both, you can use this endpoint using the PUT
method https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/firewall/optionsThanks - Works as expected.Yes,
you can usepvesh
on the cli or use the api. For both, you can use this endpoint using thePUT
method https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/firewall/options