I want to change the ports in Syncthing to be able to port forward. I use a VPN and my VPN allows me to have access to certain port numbers that are provided by the VPN.
Is it possible to change the port numbers in syncthing to a port number that is provided by my VPN to be able to port forward with a VPN?
Yes, all ports are configurable. Actions -> Settings -> Connections -> Sync Protocol Listen Addresses. See the documentation for the format and defaults:
(This does assume that your port numbers are more or less fixed though. If they change frequently, there’s no way to update them automatically unless your script that yourself)