+# todo: define more MACROS
+# inspired by: /usr/share/shorewall/macro.*
+my $pve_fw_macros = {
+ BitTorrent => [
+ { action => 'PARAM', proto => 'tcp', dport => '6881:6889' },
+ { action => 'PARAM', proto => 'udp', dport => '6881' }
+ ],
+ HTTP => [
+ { action => 'PARAM', proto => 'tcp', dport => '80' },
+ ],
+ HTTPS => [
+ { action => 'PARAM', proto => 'tcp', dport => '443' },
+ ],
+};
+
+my $pve_fw_parsed_macros;
+my $pve_fw_preferred_macro_names = {};