Describe the solution you'd like
Syncthing and torrent clients automatically set up port forwarding on clients' routers using UPnP. croc also should.
Describe alternatives you've considered
I can use https://github.com/miniupnp/miniupnp and then feed the ports to croc, but it's tedious. My provider's router does not allow setting up port forwarding manually, and it's basically useless since I get a gray IP on the WAN interface anyway. But UPnP works.