Online sync with port closed.

Hi! I am new to syncthing. From the documentation I read that it is possible to sync over internet with “relaying”. However, I cannot find any information regarding port forwarding. Do I need to open any port to make it work? If yes, which should be? Also, is it possible to enable it only for certain folders? I cannot find any option in the settings. Thanks in advance

https://docs.syncthing.net/users/firewall.html

Not per folder, no.