Jump to content

Diy Proxy Server vs VPN Server

I'm looking to create my own Proxy Server or VPN Server. I did a little research and determined the main difference is that a VPN offers encyption whereas a proxy server does not. One of my friends was talking about using a raspberry pi to make his proxy server. Would I be able to use a pi for a VPN Server? If so, what are some recommendations.  I've never used a pi before, but I am familiar with Arduino. 

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, Julius217 said:

Would I be able to use a pi for a VPN Server? If so, what are some recommendations.  I've never used a pi before, but I am familiar with Arduino. 

Yes, you would, though I'd recommend going for the newer RPi4 instead of the older ones simply because running a VPN is a reasonably heavy task due to all the encryption-stuff needed. Also, Arduino is nothing like a Pi as the Pi simply runs a full-blown Linux.

 

As for the software: OpenVPN is what you want. It's not particularly easy to set up for a newbie, but you'd probably find plenty of guides for setting up OpenVPN on an RPi if you bother to google for it or search on Youtube.

 

That said, you can run OpenVPN on a billion different devices as well, so if you've got some old laptop lying around being useless or something, you could whip up Linux on it and run OpenVPN there, instead of buying an RPi for it. Or, hell, if you decided to get a new router, you could look for one that is supported by OpenWRT (OpenWRT is a custom Linux OS for routers) and install OpenVPN on it, or setup Pfsense on something and setup OpenVPN on it -- you have plenty of options, so choose whichever tickles your fancy! (Me, I have a Pfsense-router handling my network and I've got OpenVPN running on it as well -- both in TUN-mode and TAP-mode, for different needs. It's fricking great stuff and I've come to really love Pfsense.)

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
Share on other sites

Link to post
Share on other sites

Most folks run either to mask their IP.  How do you intend to mask your IP if you're running the device off your own internet?  Or will you be finding some place else to install your device?

AMD Ryzen 5800XFractal Design S36 360 AIO w/6 Corsair SP120L fans  |  Asus Crosshair VII WiFi X470  |  G.SKILL TridentZ 4400CL19 2x8GB @ 3800MHz 14-14-14-14-30  |  EVGA 3080 FTW3 Hybrid  |  Samsung 970 EVO M.2 NVMe 500GB - Boot Drive  |  Samsung 850 EVO SSD 1TB - Game Drive  |  Seagate 1TB HDD - Media Drive  |  EVGA 650 G3 PSU | Thermaltake Core P3 Case 

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, nick name said:

Most folks run either to mask their IP.  How do you intend to mask your IP if you're running the device off your own internet?  Or will you be finding some place else to install your device?

There are plenty other reasons to run VPN as well, like e.g. if you often use a network you don't trust, you could instead route all your traffic to your home-network. Another one could be accessing services on your home-network that you don't wish to expose to the Internet directly.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
Share on other sites

Link to post
Share on other sites

I plan to use it for when I'm on public wi-fi in general for a variety of different things, i.e. banking, connecting to game servers

Link to comment
Share on other sites

Link to post
Share on other sites

If you just do some browsing,writing emails etc then I would suggest to buy a router with vpn server built in (my Archer C1200 does about 8mbps on openvpn). If you need higher speeds I would advise to look into Apollo/Gemini lake SoC's (easily 100+ mbps on openvpn).

As for a Pi, I don't really know but I guess it would be somewhere in between. Did some quick searching and saw 30mbps on a forum so it may be enough for you. I'm only familiar with openvpn so maybe other vpn types would be even faster, I dunno.

Link to comment
Share on other sites

Link to post
Share on other sites

So far I've gathered from y'all, that I need a Linux OS and OpenVPN. Am I correct?

Link to comment
Share on other sites

Link to post
Share on other sites

Generally the idea of running a VPN server at home is so you can remote in securely to access resources within your own network. 

If you just want a VPN for security or for gaming then a subscription service like NordVPN makes a lot of sense. 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Subscribing to a VPN would defeat the purpose of me building my own.

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, Julius217 said:

I plan to use it for when I'm on public wi-fi in general for a variety of different things, i.e. banking, connecting to game servers

If that's the use case, then a VPN connected to your home network works fine whether it's router based or server based.

[Out-of-date] Want to learn how to make your own custom Windows 10 image?

 

Desktop: AMD R9 3900X | ASUS ROG Strix X570-F | Radeon RX 5700 XT | EVGA GTX 1080 SC | 32GB Trident Z Neo 3600MHz | 1TB 970 EVO | 256GB 840 EVO | 960GB Corsair Force LE | EVGA G2 850W | Phanteks P400S

Laptop: Intel M-5Y10c | Intel HD Graphics | 8GB RAM | 250GB Micron SSD | Asus UX305FA

Server 01: Intel Xeon D 1541 | ASRock Rack D1541D4I-2L2T | 32GB Hynix ECC DDR4 | 4x8TB Western Digital HDDs | 32TB Raw 16TB Usable

Server 02: Intel i7 7700K | Gigabye Z170N Gaming5 | 16GB Trident Z 3200MHz

Link to comment
Share on other sites

Link to post
Share on other sites

What router do you have? There's a good chance it has a vpn server built in to it already. 

Intel 11700K - Gigabyte 3080 Ti- Gigabyte Z590 Aorus Pro - Sabrent Rocket NVME - Corsair 16GB DDR4

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, jake9000 said:

What router do you have? There's a good chance it has a vpn server built in to it already. 

One from my isp. Either way, will I need a static ip address from my isp?

Link to comment
Share on other sites

Link to post
Share on other sites

No, you can use a dynamic dns service such as no-ip. If you own your own domain, your registrar might offer that as well. Namecheap offers it for free if you have a domain with them. 

Intel 11700K - Gigabyte 3080 Ti- Gigabyte Z590 Aorus Pro - Sabrent Rocket NVME - Corsair 16GB DDR4

Link to comment
Share on other sites

Link to post
Share on other sites

12 hours ago, Julius217 said:

Subscribing to a VPN would defeat the purpose of me building my own.

You never stated this was a requirement. Your requirement was you wanted a secure VPN for banking, and for connecting to game servers when on public connections. 

 

But in that case OpenVPN is easy to setup, plenty of guides for any Windows/Linux machine you might want to install it on. 

Also you need to make sure you have a standard connection with its own Dynamic/Fixed IP and not a shared one (CG-NAT). 

Some ISP's in some countries charge for Fixed IP's so if you dont have one of those, then you'll need something like Dyndns to maintain an up to date address you can connect to. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

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

×