As others have stated, your router would have to be configured to forward the appropriate ports to the computer with the shares. You will be opening up a huge security hole, so consider other options.
Almost anything will be better than SMB/CIFS over the open internet. Personally I'd use SCP/SFTP to take advantage of SSH security. You could even tunnel SMB/CIFS over SSH... in theory. The only thing you'd need to do is 1) setup an SSH server on your computer, and 2) forward SSH ports from your router to the computer.
Now, to your question.
Your URI smb://dyndnsalias.com/HostnameOfMyPC/Share
won't work because you have two hostnames in there, dyndnsalias.com
and HostnameOfMyPC
. In theory (and depending on where you were trying to use this), the format would be:
smb://dyndnsalias.com/Sharename
^ ^
| |
OR + host/ip + share
| |
V V
\\dyndnsalias.com\Sharename
You can use any of these for the host/ip field:
well - as good as this looks, security is debatable when anyone at another company can connect in at will and do what they want! – William Hilsum – 2009-10-26T01:43:03.340