If you have the SME behind a router with a private IP, and another LAN behind the SME with a different range of private IPs, you need to forward both ports from the router to the SME. Then on the SME, open port 5900 (to allow access, closed by default) and forward port 5901 to the client PC.
The router will send anything on 5900 or 5901 to the SME. The SME will accept 5900 and forward 5901 to the PC.