Upgrading WRT54G Firmware (Flashing WRT54G) to DD-WRT

I have been looking around trying to find a way to enable VPN passthrough with my WRT54G and also have the ability to telnet into it. With the standard firmware, you are unable to do so. The only option I found was to flash, or change, the firmware. Here is my router version: WRT54G v5. For the most part, even if you have an earlier or later version, the steps should be similar. However, it's best to check to make sure the firmware is compatible. These are the steps I took to successfully flash my router firmware. COMING SOON!

Access your Mac from XP...

This is just a simple way to remote into your Mac from XP. I am sure there are some alternate techniques, but this is fairly simple.
Ok so here are the steps I took:
  1. Download OSXvnc (Vine), mount, and then drag into Applications.
  2. Open System Preferences > Sharing > then click Remote Management (select the options you want).
  3. Now launch OSXvnc Server and enter in the password to connect.
  4. Log into your router and find the Port Forwarding tab. For Linksys routers it is under Applications and Gaming.
  5. Now forward port 5900 (TCP and UDP) to your computers IP address.
  6. Go back to your Mac and open up a browser and find out your external IP.
  7. Go to the machine running XP and download and install RealVNC.
  8. Open Up RealVNC player and enter in your external IP.
  9. Enter in your password to connect.
  10. Now that's it!
Now some explanation of what is going on. You have a service on your mac that is listening on port 5900. You are telling your router to forward all activity on port 5900 to your Mac IP. So, by entering your external IP, the packets are hitting your router, then forwarding to your Mac on which the VNC server is listening on port 5900.

Enabling Remote Desktop Connection (RDC) Remotely...

I have run into many situations where I need to remote into a computer, but can't because RDP is not enabled on that computer. So I want to enable it remotely because either I am too lazy to get up and access a network computer or cant access a network computer because it is behind a locked door. There are a few ways to do this.
The first is to add a network registry and then change a value. To do this:
  1. Open regedit | Start > Run > regedit
  2. File > Connect Network Registry
  3. Then type either the name or the IP of the computer to connect to and press Check Names.
  4. Press Ok then you should see the network registry under yours in the left pane.
  5. We are going to change the value of fDenyTSConnections and it is under
    • HKLM\System\CurrentControlSet\Control\Terminal Server
  6. Double click fDenyTSConnections and change the value to 0.
  7. Now you should be able to remote it.
NOTE: If you receive and Access Denied error when trying to access HKLM, then check your security settings on the remote computer (this most likely means physically accessing it).

Another process would be to download PSTools (
a light-weight telnet-replacement that lets you execute processes on other systems) from Microsoft. Download and extract PSTools into a folder. In command prompt (Start > Run > CMD) CD (change directory) into that folder and then execute the following command:
  • psexec \\IP reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0


There are also some programs that can assist you with enabling RDP.
IntelliAdmin has a freeware program that will enable RDP remotely with a GUI, it also has some nice additional features. It can be downloaded here for free.