Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to set up some port forwarding in our router, using UPnP.

More specifically, I want to run some program on startup that always forwards port 8443 my IP address ( Port 8443 is for our SVN server.

How do I do this with Windows Server 2008 R2?

(I don't want to go into the router to set up port forwarding, as everytime I do this, the router resets itself and we lose the internet connection for 5 minutes which plays havoc with everything else on the network)

share|improve this question
up vote 2 down vote accepted

The vba program listed at Programmatically Controlling a UPnP-Capable Firewall runs under Windows XP. I have not tried it on a server but it's worth a try. Even if it doesn't work, the references may lead you in the right direction.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.