The basic steps to configure for VNC are as follows:
o Configure the machine you want to control (VNC Server) to allow VNC access. If the VNC Server is behind a router, then this would entail at least three things: 1) Configure the OS X Firewall to allow VNC access, 2) Configure the router to map port 5900 to the VNC Server, and 3) Know the WAN IP address of your router. (Note: One way to get the WAN IP is to go to the web site
http://whatismyip.com and make a note of the ip address.)
o Connect to your VNC Server from a VNC Client from the Internet.
And I tried to do port forwarding but it doesn't seem to work.
Let's double-check your port mapping settings.
1. Reserve a DHCP-provided IP address for the VNC Server.
Internet > DHCP tab
o On the DHCP tab, click the "+" (Add) button to enter DHCP Reservations.
o Description: <enter the desired description of the host device>
o Reserve address by: MAC Address
o Click Continue.
o MAC Address: <enter the MAC (what Apple calls Ethernet ID if you are using wired or AirPort ID if wireless) hardware address of the VNC Server>
o IPv4 Address: <enter the desired IP address>
o Click Done.
2. Setup Port Mapping on the AEBSn.
Advanced > Port Mapping tab
o Click the "+" (Add) button
o Service: <you can ignore this setting>
o Public UDP Port(s): 5900
o Public TCP Port(s): 5900
o Private IP Address: <enter the IP address of the VNC Server from the above step>
o Private UDP Port(s): 5900
o Private TCP Port(s): 5900
o Click "Continue"
(ref:
"Well Known" TCP and UDP ports used by Apple software products)