Yes, I'm SFTP typically runs on a port other than the commonly-used 21 for regular FTP, hence why you're seeing it work on the local network, behind your firewall, but not outside it.
We don't know which port, though, as D-Link hasn't told us. Guess we could use a network traffic analyzer program...