I don't understand your comment, "but when I set the system configuration, as long as I restart pve, the original settings will be restored."
If you want to be able to wol the proxmox host, add;
@reboot /sbin/ethtool -s enp4s0 wol g
To cron. This sets the wol flag for your management...