Screen Sharing stops working when using separate networks
I'm having an issue accessing my work iMac from my MacBook at home. I've enabled Remote Management and Remote Login (along with every other Sharing option) through my System Preferences on my iMac at work.
To test the connection, I used my MB on the same network and successfully used the Screen Sharing app. But when I got home and tried to connect I got a "Connection Failed" error. Remote login through Terminal also timed out.
I made sure my iMac doesn't sleep, although the display goes to sleep after some time. I also successfully connected to a local computer also using Screen Sharing, so I know it's not my network. I'm connecting using "vnc://ip.address," and I've also tried adding port numbers. The work iMac's IP address is static, so the address couldn't have been renewed.
Any suggestions for this issue?
OS X Mountain Lion (10.8.1)