Speaking with a VyOS user, he wanted to change the default destination port of the peer when using unicast UDP (port 3780) at Conntrack Sync due to an integration he's working at with GCP Terraform.
For example, the command
set service conntrack-sync interface <name> peer <address>
currently changes the IPv4_Destination_Address value at /etc/conntrackd/conntrackd.conf that is the conntrack daemon file.
According to the file this configuration is being auto-generated by vyatta-conntrack-sync.pl at boot and everytime a conntrack-sync configuration command is executed so I think that's the script being triggered with conntrack-sync commands that creates a new conntrackd.conf
Even though changing directly the port at conntrackd.conf file and restarting the conntrack daemon should work, the value will be overlapped by 3780 next boot or if a configuration command for conntrack-sync is executed.
vyos@vyos# cat /etc/conntrackd/conntrackd.conf # # autogenerated by vyatta-conntrack-sync.pl on Thu 01 Jul 2021 01:43:46 PM UTC # # # Synchronizer settings # Sync { Mode FTFW { } UDP { IPv4_Destination_Address 9.9.9.9 Port 3780 Interface eth0 SndSocketBuffer 1048576 RcvSocketBuffer 1048576 Checksum on }
So the feature would be adding a command like
set service conntrack-sync interface <name> peer <address> port <port>.
and should change the "Port" value located at /etc/conntrackd/contrackd.conf just as set service conntrack-sync interface <name> peer <address> changes the IPv4_Address_Destination value