Hi Roger,
You should send us e-mail to techsupport@weonlydo.com and we will prepare you sample for Delphi 7. Please also if you can explain what you planned to do with port forwarding.
Maybe you should try our wodSSHTunnel ActiveX component which is security tunneling component. To make tunnel, wodSSHTunnel need to connect to some SSH server and after that you can forward ports from and to SSH server.
You can find more info here:
http://www.weonlydo.com/index.asp?showform=SSHTunnel
and you can download it here:
http://www.weonlydo.com/Samples/wodSSHTunnel.exe
After you install it you will found Delphi sample in wodSSHTunnel Samples folder.
Hope I helped.
Regards,
Drazen