Add the target URL inside dest of a forward entry:
dest
forward
paths: mypath: forward: - dest: srt://host:port?streamid=streamid