Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

4 Answers 4

up vote 2 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 DynDNS.org 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

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

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

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

Your Answer

 
discard

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.