Super User is a question and answer site for computer enthusiasts and power users. 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

To setup a VPN is it necessary to have a static IP?

Also VPN is a new concept to me any help (guides) and tips for setting up a VPN Server and Client in Windows (Xp and 7)

(alternatively Linux guides are also welcome as I do have a Linux setup on one of my desktops)

share|improve this question
up vote 3 down vote accepted

No, you don't need a static IP. You just have to know the current IP to connect to. I use OpenVPN on my WRT54G on my residential cable connection. My router acts as a server, and it auto-registers with whenever the IP changes. At worst my VPN would fail for a matter of minutes as my dynamic DNS times out.

As for help setting it up, what are you trying to do? What systems are you trying to connect and why? Knowing that would help to get the best VPN setup for what you're doing.

share|improve this answer
secure file sharing with friends located else where and probably to access files from my home computer when im elsewhere – rzlines Oct 15 '09 at 17:08
I don't know much about the Windows PPTP VPN setup, but its probably enough to do what you're looking for. I would install OpenVPN on your Linux system, but that's probably overkill for what you're looking for. – baumgart Oct 21 '09 at 1:19

It depends on what you are trying to achieve with your VPN. Strictly talking, no, it's not necessary.

If you are trying to establish a VPN between two offices, probably is better to do it using static IPs. It will be a lot easier and probably more secure.

It's a little bit old, but still valuable, since you told that any help is welcome. VPN HOWTO

share|improve this answer

No, it's not necessary to have a static IP address; you can access the server via a domain name if you use a dynamic dns service (most modern DSL routers can register themselves with such a service automatically).

share|improve this answer

On the Server side IP should be static and on the client side dynamic IPs will do and they are doing in most current implementations.Your scenario will be more reliable and efficient if you use static IP addresses(of course public IPs) at all your sites but this will affect your corporate budget.

Baumgart's suggested solution will work but the configuration steps may cause headache for a novice like me and the reliability and availability of corporate network is a question mark for me at this stage.

This reply is "To the best of my knowledge".

share|improve this answer

You must log in to answer this question.

protected by bwDraco Apr 27 '15 at 17:06

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .