Setting up VPN on dynamic IP

Soldato
Joined
29 Dec 2014
Posts
2,504
Location
The "North"
Hi everyone, I've recently been trying to set up a VPN server to get on to my home network. So far I've tried using the built in options on DD-WRT, Windows Server 2012 R2 and on the EdgeRouter Lite with no avail.

I currently have a dynamic IP and I'm confused as to how to get a VPN setup as most utilities request a static IP. Does anyone have any ideas on how I can get this to work? I've tried using the default Server 2012 R2 but some options are blocked as I used dashboard to setup anywhere access.

I'm contemplating getting a SonicWall but I'm not sure if it would work but would it be easier to setup?

Any help is greatly appreciated as always :)
 
Last edited:
Hi everyone, I've recently been trying to set up a VPN server to get on to my home network. So far I've tried using the built in options on DD-WRT, Windows Server 2012 R2 and on the EdgeRouter Lite with no avail.

I currently have a dynamic IP and I'm confused as to how to get a VPN setup as most utilities request a static IP. Does anyone have any ideas on how I can get this to work?

Any help is greatly appreciated as always :)
You will need to sign up to a dynamic dns server. Basically a provider will give you a domain which points to your IP. If your IP changes you need to update the domain, your router will be able to update this value for you so that say techmineruk.noip.me always points at your IP.
http://www.noip.com/ are free but you need to confirm your hostname every 30 days or something. https://www.duckdns.org/ are free too but ive never used them before.
 
What are you wanting to use to connect to the VPN? I have IPsec/L2TP conofigured on my EdgeRouter Lite, and I connect with my iPhone no problem at all.
 
You will need to sign up to a dynamic dns server. Basically a provider will give you a domain which points to your IP. If your IP changes you need to update the domain, your router will be able to update this value for you so that say techmineruk.noip.me always points at your IP.
http://www.noip.com/ are free but you need to confirm your hostname every 30 days or something. https://www.duckdns.org/ are free too but ive never used them before.
I've tried to set this up on my EdgeRouter but I still haven't quite worked it out :)

What are you wanting to use to connect to the VPN? I have IPsec/L2TP conofigured on my EdgeRouter Lite, and I connect with my iPhone no problem at all.
I'd rather connect with L2TP but either is fine as long as I can get it working :)
 
I have created a little bash script on a Raspberry Pi that checks my IPS IP for any changes every 15minutes. It then emails whcih I can access from my moible phone if it changes.

Then I just update my VPN client manually with the new IP, not as slick as using a Dynamic DNS, but it works for me.

I can post the BASH script if anyone is interested?
 
I have created a little bash script on a Raspberry Pi that checks my IPS IP for any changes every 15minutes. It then emails whcih I can access from my moible phone if it changes.

Then I just update my VPN client manually with the new IP, not as slick as using a Dynamic DNS, but it works for me.

I can post the BASH script if anyone is interested?


Why not use
http://freedns.afraid.org

You can then use a simple wget script to update the dns with your ip address automatically. :)
 
What provider are you with?
I think the edgerouter has ddns clients built in, maybe look to one of those?
Yeah, I think I'll have a look at the ones from the providers listed in the EdgeRouter as setting it up elsewhere will be a pain

Why not use
http://freedns.afraid.org
You can then use a simple wget script to update the dns with your ip address automatically. :)
I have created a little bash script on a Raspberry Pi that checks my IPS IP for any changes every 15minutes. It then emails whcih I can access from my moible phone if it changes.
Then I just update my VPN client manually with the new IP, not as slick as using a Dynamic DNS, but it works for me.
I can post the BASH script if anyone is interested?
I'll have a go at these too although it looks like setting them up might be a pain :)
 
Back
Top Bottom