Jump to content

Setting up a home VPN server.

ProjectBox153

I'm completely new to setting up a home VPN server. Is there any thing that would allow me to do some configuration in Windows and connect to my home's network without needing a client program? I have a server running Ubuntu I'd like to use if possible, and the client is Windows XP. Thanks!

Main System: Phobos

AMD Ryzen 7 2700 (8C/16T), ASRock B450 Steel Legend, 16GB G.SKILL Aegis DDR4 3000MHz, AMD Radeon RX 570 4GB (XFX), 960GB Crucial M500, 2TB Seagate BarraCuda, Windows 10 Pro for Workstations/macOS Catalina

 

Secondary System: York

Intel Core i7-2600 (4C/8T), ASUS P8Z68-V/GEN3, 16GB GEIL Enhance Corsa DDR3 1600MHz, Zotac GeForce GTX 550 Ti 1GB, 240GB ADATA Ultimate SU650, Windows 10 Pro for Workstations

 

Older File Server: Yet to be named

Intel Pentium 4 HT (1C/2T), Intel D865GBF, 3GB DDR 400MHz, ATI Radeon HD 4650 1GB (HIS), 80GB WD Caviar, 320GB Hitachi Deskstar, Windows XP Pro SP3, Windows Server 2003 R2

Link to comment
Share on other sites

Link to post
Share on other sites

Well setting up VPN is a multi step process,

  1. you will need a router in home network that acts as an interface for VPN, some high end home wifi routers have this inbuilt option. If you do not have one of those than check if you can use custom router firmware that provides this capability. Such as DDwrt OpenWRT or Tomato [Use this article for ref: External LINK ]
  2. If your ISP has provided static IP than it is ok, else you may have get Dynamic DNS to avoid change of IP every time, again this can be achieved in multiple ways. Most wifi router have option for DDNS or DYNDNS in built. i suggest NO-IP dynamic dns provider, it is free and easy to use. you can ignore this if static ip is provided. All you would have to do is get port forwarding enabled.
  3. for VPN on server get Open VPN (AS) from the OPen VPN community downloads, you will have to create certificate and keys for the home VPN and client cert file. [Found this great article that will help for UBUNTU External LINK]
  4. use client cert file on any open vpn device, it can be macosx, windows, android, just get the client app and use client cert file to connect

Well it more easy said than done, i have never tried it on home network as my ISP does not allow port forwarding and i can not get DDNS work.

But i have used it on a old remote Centos based server in past and on that i do not have to configure any router, just Open VPN as and cert files and keys.

 

I have very limited exposure to this but hope it helps and pushes you in right direction.

Link to comment
Share on other sites

Link to post
Share on other sites

I'm using my raspberry Pi 3 as my VPN server. :D I'm using OpenVPN and it works like a charm.

 

Just follow this guide. It can take time to create the certificate (2048 bit) It'll extremely longer for 4096 bit.

 

http://www.pivpn.io/

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitors: 24" Acer S240HLBID + 24" Samsung  | OS: Win 10 Pro

 

Audio: Behringer Q802USB Xenyx 8 Input Mixer |  U-PHORIA UMC204HD | Behringer XM8500 Dynamic Cardioid Vocal Microphone | Sound Blaster Audigy Fx PCI-E card.

 

Home Lab:  Lenovo ThinkCenter M82 ESXi 6.7 | Lenovo M93 Tiny Exchange 2019 | TP-LINK TL-SG1024D 24-Port Gigabit | Cisco ASA 5506 firewall  | Cisco Catalyst 3750 Gigabit Switch | Cisco 2960C-LL | HP MicroServer G8 NAS | Custom built SCCM Server.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

As @Abdul201588 sorta implied, there are nice scripts out there that make the whole openvpn installation/management process easy. I use this script, which is older and works really well from my experience. The nice thing is that the dev keeps it updated, so no worries about insecure servers. From the looks of it, pivpn.io is actually a copy of the script I use, except slightly more complicated.

My native language is C++

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×