Jump to content

Should You Make Your Own VPN?

jakkuh_t

Linus explores the world of creating your own VPN, with the help of an open source project called Pritunl.

 

 

Rent a VPS for this project from Vultr (affiliate link): https://lmg.gg/cO2Wd

 

Forum Tutorial:  https://linustechtips.com/main/topic/1140511-diy-vpn-pritunl-setup-tutorial/

 

widget.png?style=banner2

PC: 13900K, 32GB Trident Z5, AORUS 7900 XTX, 2TB SN850X, 1TB MP600, Win 11

NAS: Xeon W-2195, 64GB ECC, 180TB Storage, 1660 Ti, TrueNAS Scale

Link to comment
Share on other sites

Link to post
Share on other sites

TL;DR, if your reasoning constantly shouts "ARRRRR MATEY", no. 

Any other reason, go for it! :D 

I joke I joke. 

Fine you want the PSU tier list? Have the PSU tier list: https://linustechtips.com/main/topic/1116640-psu-tier-list-40-rev-103/

 

Stille (Desktop)

Ryzen 9 3900XT@4.5Ghz - Cryorig H7 Ultimate - 16GB Vengeance LPX 3000Mhz- MSI RTX 3080 Ti Ventus 3x OC - SanDisk Plus 480GB - Crucial MX500 500GB - Intel 660P 1TB SSD - (2x) WD Red 2TB - EVGA G3 650w - Corsair 760T

Evoo Gaming 15"
i7-9750H - 16GB DDR4 - GTX 1660Ti - 480GB SSD M.2 - 1TB 2.5" BX500 SSD 

VM + NAS Server (ProxMox 6.3)

1x Xeon E5-2690 v2  - 92GB ECC DDR3 - Quadro 4000 - Dell H310 HBA (Flashed with IT firmware) -500GB Crucial MX500 (Proxmox Host) Kingston 128GB SSD (FreeNAS dev/ID passthrough) - 8x4TB Toshiba N300 HDD

Toys: Ender 3 Pro, Oculus Rift CV1, Oculus Quest 2, about half a dozen raspberry Pis (2b to 4), Arduino Uno, Arduino Mega, Arduino nano (x3), Arduino nano pro, Atomic Pi. 

Link to comment
Share on other sites

Link to post
Share on other sites

I think the first use case should also come with an asterisk: If you enter your credit card information on a website that doesn't use HTTPS (with a valid certificate! Unlike the VPS that is set up in the video) on an unsecured Wi-Fi, think long and hard: Should you trust a website that doesn't use HTTPS with your private data?

 

If the website does use HTTPS (as it should), neither your ISP, nor the hacker can read your credit card information. The connection is already encrypted (between you and the website in question, i.e. end-to-end). A VPN offers virtually zero additional protection.

 

If the website does not use HTTPS it is very likely your personal information stored on that servers isn't encrypted either (can you say data breach?). And while the connection between you and the VPN server is encrypted, the connection between the VPN server and the website is not. So you've simply replaced your potentially snooping ISP with a potentially snooping VPN provider.

 

As far as I'm concerned, you should use Virtual Private Networks (VPNs) for the one use case they were invented for: To securely connect to a remote network as if the computer was part of that network (i.e. your home or company network). Agreed, circumventing region locks is a welcome side effect (provided VPNs aren't blocked).

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

anyone know if you can use a US seedbox as a vpn to get around the netflix stuff?

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...

Can I use the 2.5 dollars plan with ipv6 to setup a vpn? I'm in n China will that plan in vultr work?

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...

Help please!

 

sudo apt install pritunl
[sudo] password for OG: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pritunl

 

I have the repository

 

deb http://repo.pritunl.com/stable/apt

 

added at 

 

/etc/apt/sources.list.d/pritunl.list

 

and I ran sudo apt update and it still can't find it. :(

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 weeks later...

I get to 5:27 in your video an have even turned off the firewall an still cant access the pritunl web interface.   Ive made he server at least 20 times with same result.  I run through each step with success an yet still no web interface.

 

VPN Walk through

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...

So, let's say I did all that (from China), and it worked fine for a while with only minimal slowdown, and then it started throttling hard after a week or two. What might be the reason, and what could I do about it?

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...
On 1/13/2020 at 10:26 PM, Stu_Bear said:

Ummm....I created a VPN on my home server so I can dial into it from work and visit this website undetected...seriously I set it up for giggles.  It's free to do if you use OpenVPN

umm, how do i say it. It's quiet easily detectable... if you have "normal" network security in a company. 

And if somebody tried that in my company, well the security department will get all the data, from the network security reports about it. 

   
 
 
 
Spoiler
CPU : Intel 14gen i7-14700K
COOLER :  Thermalright Peerless Assassin 120 White + thermaltake toughfan 12 white + Thermal Grizzly - CPU Contact Frame Intel 13./14. +  Coollaboratory Liquid Ultra
GPU : MSI RTX 2070 Armor @GPU 2050MHz Mem 8200MHz -> USB C 10Gb/s cable 2m -> Unitek 4x USB HUB 10 Gb/s (Y-HB08003)
MOBO : MSI MEG Z690 UNIFY
RAM :  Corsair VENGEANCE DDR5 RAM 64 GB (2 x 32 GB) 6400 MHz CL32 (CMK64GX5M2B6400C32)
SSD : Intel Optane 905P 960GB U.2 (OS) + 2 x WD SN850X 4TB + 2 x PNY CS3140 2TB + ASM2824 PCIe switch -> 4 x Plextor M8PeG 1TB + flexiDOCK MB014SP-B -> Crucial MX500 2TB + GoodRam Iridium PRO 960GB + Samsung 850 Pro 512GB
HDD : WD White 18TB WD180EDFZ + SATA port multiplier adp6st0-j05 (JMB575) ->  WD Gold 8TB WD8002FRYZ + WD Gold 4TB WD4002FYYZ + WD Red PRO 4TB WD4001FFSX + WD Green 2TB WD20EARS
EXTERNAL
HDD/SSD : 
XT-XINTE LM906 (JMS583) -> Plextor M8PeG 1TB + WD My Passport slim 1TB + LaCie Porsche Design Mobile Drive 1TB USB-C + Zalman ZM-VE350 -> Goodram IRDM PRO 240GB
PSU :  Super Flower leadex platinum 750 W biały -> Bitfenix alchemy extensions białe/białe + AsiaHorse 16AWG White 
UPS :  CyberPower CP1500EPFCLCD -> Brennenstuhl primera-line 8 -> Brennenstuhl primera-line 10
LCD :  LG 32UD59-B + LG flatron IPS236 -> Silverstone SST-ARM11BC
CASE :  Fractal R5 Biały + Lian Li BZ-H06A srebrny + 6 x Thermaltake toughfan 14 white + Thermalright TL-B8W
SPEAKERS :  Aune S6 Pro -> Topping PA3-B -> Polk S20e black -> Monoprice stand 16250
HEADPHONES :  TOSLINK 2m -> Aune S6 Pro -> 2 x Monoprice Premier 1.8m 16AWG 3-pin XLR -> Monoprice Monolith THX AAA 887 -> 4-pin XLR na 2 x 3.5mm 16 cores OCC 2m Cable -> HiFiMAN Edition XS -> sheepskin pads + 4-pin XLR na 2 x 2.5mm ABLET silver 2m  Cable -> Monoprice Monolith M1060 + Brainwavz HM100 -> Brainwavz sheepskin oval pads + Wooden double Ɪ Stand + Audio-Technica ATH-MSR7BK -> sheepskin pads + Multibrackets MB1893 + Sennheiser Momentum 3 +  Philips Fidelio X2HR/00 + JBL J88 White
MIC :  Tonor TC30 -> Mozos SB38
KEYBOARD : Corsair STRAFE RGB Cherry MX Silent (EU) + Glorious PC Gaming Race Stealth Slim - Full Size Black + PQI MyLockey
MOUSE :  Logitech MX ERGO + 2 x Logitech MX Performance + Logitech G Pro wireless + Logitech G Pro Gaming -> Hotline Games 2.0 Plus + Corsair MM500 3xl + Corsair MM300 Extended + Razer goliathus control
CONTROLLERS :  Microsoft xbox series x controller pc (1VA-00002) -> brainwavz audio Controller Holder UGC2 + Microsoft xbox 360 wireless black + Ravcore Javelin
NET :  Intel x520-DA2 -> 2 x FTLX8571D3BCV-IT + 2 x ASUS ZenWiFi Pro XT12
NAS :  Qnap TS-932X-2G -> Noctua NF-P14s redux 1200 PWM -> Kingston 16GB 2400Mhz CL14 (HX424S14IB/16) -> 9 x Crucial MX500 2TB ->  2 x FTLX8571D3BCV-IT -> 2 x Digitus (DK-HD2533-05/3)
Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...
On 1/14/2020 at 11:24 AM, Eigenvektor said:

If the website does use HTTPS (as it should), neither your ISP, nor the hacker can read your credit card information. The connection is already encrypted (between you and the website in question, i.e. end-to-end). A VPN offers virtually zero additional protection.

 

If the website does not use HTTPS it is very likely your personal information stored on that servers isn't encrypted either (can you say data breach?). And while the connection between you and the VPN server is encrypted, the connection between the VPN server and the website is not. So you've simply replaced your potentially snooping ISP with a potentially snooping VPN provider.

 

 

I'm new to all of this, but I know I need some security measures in play.  I've heard a lot about the VPN stuff, but a few talk as you do that it is a false security.

Your comment intrigues me..... so what PPE (personal protection equipment :) would you recommend?  What about sites that spoof a SNL cert? 

 

Any recommendations for reading up on home security topic?

 

Thanks for the engaging discussion,

 

On 1/14/2020 at 11:24 AM, Eigenvektor said:

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, CWave said:

I'm new to all of this, but I know I need some security measures in play.  I've heard a lot about the VPN stuff, but a few talk as you do that it is a false security.

I'm not a security expert by any means. I just know enough to be able to look through the marketing claims of companies claiming that using a VPN online makes you more secure.

 

I'm not saying VPNs don't work. I use one every day while working from home to connect to our office network. This is the primary use case of a virtual private network (VPN): Connect to another network, as if you were physically connected to it. It uses encryption to protect e.g. company resources and prohibit unauthorized access. That's about it.

 

There is one "side effect" to this: When you access websites you are now coming from the IP of the VPN server instead of your own IP. If the VPN server happens to be in another country, this may allow you to circumvent some regional blocking. Which is the primary reason they are popular.

 

The whole "makes you more secure", "protects your IP", "stops your ISP from snooping" is (mostly) marketing fluff, since they can't exactly go around saying "allows you to download warez hiding your true IP" and "let's you watch Netflix in other countries" (not really since Netflix is blocking VPNs as much as they can).

 

9 hours ago, CWave said:

Your comment intrigues me..... so what PPE (personal protection equipment :) would you recommend?

Backups, a virus scanner, some common sense and maybe a "proper" firewall that does not run on your personal computer. A firewall does not protect you against malicious files that you download yourself and if your computer is compromised, chances are high the virus has administrative permissions and can circumvent/compromise it anyway.

 

That's about it. The first step about information security is asking yourself: Who is trying to attack me? What is the threat? Then you can figure out how to best protect yourself. I'd say as a general user you're mostly at risk from viruses trashing your data, phishing mails trying to get to your bank account or steal your identity and e.g. bitcoin miners abusing your processing power.

 

9 hours ago, CWave said:

What about sites that spoof a SNL cert?

"Spoofing" SSL certificates isn't really a thing. While anyone can create SSL certificates, your browser isn't going to trust them, unless it is signed by a well-known certificate authority or the root certificate is installed in the browser's certificate store.

 

So someone would have to either install an additional root certificate in your browser to make it accept "their" certificates or they would have to steal a valid root certificate from a CA to sign their certificates. This is going into "targeted attack" territory of some three letter agencies trying to get at you specifically. If that's the case: good luck. No amount of "personal security" will help you unless you're an expert in that field.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...
1 hour ago, MiltonRose said:

When I already tried to do this on my server, but it worked wildly slowly of course

it shouldn't be slow unless your server is slow. it may add a small amount of latency but it should be negligible unless your server is across the world, even then it should be more than maybe a 10-15ms increase.

AMD blackout rig

 

cpu: ryzen 5 3600 @4.4ghz @1.35v

gpu: rx5700xt 2200mhz

ram: vengeance lpx c15 3200mhz

mobo: gigabyte b550 auros pro 

psu: cooler master mwe 650w

case: masterbox mbx520

fans:Noctua industrial 3000rpm x6

 

 

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

×