ROUTER: If you have a router it will
have to be configured to let it know where to forward incoming requests from the internet to your computer.
Log onto your router. If you have never done this then:
Windows 95/98/ME
Users: Go to Start Menu > Run > Type "winipcfg" select your network
adapter. Then right down the IP address of the "Default Gateway" and the number that just says "IP Address". An IP address is four sets
of numbers separated with periods, with one to three numbers in each set, between the numbers 1 and 254,
and since you have a router it will probably start with 192.168.xxx.xxx
or 10.xxx.xxx.xxx (although it could be any combination of numbers).
Windows 2000/XP Users: Go to Start Menu > Run > Type "cmd".
Then at the command window type "ipconfig" write down the
IP address of the "Default Gateway" and the number that just says "IP Address". It should be the same format as the Windows 95/98/ME IP
address.
After you have your gateway IP address open up your internet browser.
In the address bar type "http://" then your gateway IP address. If a window pops up asking for a
username or your browser goes to a page that has your routers name
somewhere then you've done it right. If you got an error then you may have entered the gateway IP address incorrectly. Double check the gateway IP address. If it still doesn't work you may have a telnet based router instead of a web base one. You will need to see my
router page. Ok now you need a name and a password to log
on. Most routers use a username of "admin".The password is probably blank, "admin", "password", or the brand name of your router.
If that doesn't work get out the manual, it will tell you unless someone has changed it.(See my
router page for more info on logging into your router) Now that
we are all connected to the router we will configure it. Look for an
option called "port forwarding" or "virtual server" it can go by many
names. It should always look similar to this picture.
If you look at the picture it has a place for the following:
| Name |
type any name her to identify the rule |
| Private IP |
This is where you type the IP address that you wrote down earlier. (Not the gateway address, the other one) |
| Protocol Type |
In most cases this is set to TCP. If that doesn't work set it to both. |
| Private Port |
The port that you have set in UltraVNC |
| Public Port |
The port you want to use to connect from an outside location |
| Schedule |
When should this rule be in effect? (I always put this on "always") |
Now fill in each item on the page. Use the table above to assist you. Set the private port and the public port both to 5800, if you're just setting up a simple single computer and router.
Now set them all again except
change the 5800 to 5900.

You should now have to rules setup. Both are identical except one says 5800 and the other says 5900. We had to setup one rule for the java viewer (5800) and one for the standard UltraVNC viewer appliation (5900).

Here is an example of some of the rules in my router:
You can also setup your router for UltraVNC by configuring the built
in firewall if your router has one. Basically you set it up the same
way you did the virtual server. See picture:
