How to set up a Linux VPN server (script)

  Рет қаралды 80,517

Average Linux User

Average Linux User

Күн бұрын

This is the simplest and yet very reliable way to configure a personal VPN server. If you want to maintain total control over your data or you are just curios how to set up a Linux VPN server, watch this video.
Get $25 at UpCloud to set up a VPN server: upcloud.com/si...
################################################
All the commands used in the video are available in the blog-post averagelinuxus...
How to Set up a Virtual Private Server • Virtual Private Server...
How to install SSH keys • How to install and use...
How to use Public Key authentication • How to use SSH Public ...
All Linux Server tutorials • Linux Server tutorials
Tags: #VPN #Privacy #AverageLinuxUser
################################################
Website: averagelinuxuse...
Facebook: / averagelinuxuser
Twitter: / avglinuxuser

Пікірлер: 73
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
Get $25 at UpCloud to set up a VPN server: upcloud.com/signup/?promo=alu25
@BrianJurkowski
@BrianJurkowski 5 жыл бұрын
Thanks for the promo code. I just signed up.
@johanandreybaron
@johanandreybaron 4 жыл бұрын
unfortunately you have to pay 10 USD to activate the promo. Thank you anyway
@ismaelmadrigal7670
@ismaelmadrigal7670 Жыл бұрын
Do you have Script for vos installation?
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
This tutorial including all the commands is also available as a blog-post averagelinuxuser.com/linux-vpn-server/
@qiaohuizhou6960
@qiaohuizhou6960 2 ай бұрын
I tried to connect my macbook with my ubuntu server, it seems that I can't download the config file generated from the ubuntu server.... despite using the public IPv4 address printed out when I was going through the automatic config , I keep on getting the error tht the rout doesn't exist, and it's not the same ip address I tried to connect to... I can use ssh to connect to the server using publuc ipv6 address through vscode so I manually downloaded the file back to local, the conif can't establish a correct handshake... what could possibly be wrong?
@oscarmorao1478
@oscarmorao1478 4 жыл бұрын
What can I do to deploy a vpn server under a 100.x.x.x IP? My ISP has another subnet and my IP is not public... is there a way to do this?
@FrostGamingHype
@FrostGamingHype 3 жыл бұрын
Fun Fact you can use Google Cloud Console For Free Like Me 2gb ram ddr 4 5gb stroage 2 cores intel xeon 2.4ghz L1d chache 32kb l2i chache 32kb l2 256kb l3 chache 56320kb
@downeywang7752
@downeywang7752 Жыл бұрын
My TLS key negotiation failed to occur within 60s I'm sure WIFI is ok. What's the problem?
@Andy-zj6xc
@Andy-zj6xc 5 жыл бұрын
Great video alu! but you should remind us to NEVER expose any private keys that is currently in use.
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
Probably, I should have but I assume my viewers know about the keys kzbin.info/www/bejne/mqaQn4qDeLeep6c
@cosmn0330
@cosmn0330 4 жыл бұрын
Hello, can I connect my remote server over WiFi? It only works just over cable eathernet? I mean to connect the server where VPN is hosted, over an WiFi connection, and then to use it ,for example in another city to be able to connect to the VPN itself. (Sorry if the question is not that understandable :) )
@jamb027
@jamb027 5 жыл бұрын
One big problem with VPN on Linux is the DNS leaks that happen. I use Mint and VPN does nothing to make browsing more hidden. I even downloaded the Mint Debian edition as I beleived it to be a problem with Ubuntu, and still DNS leak test exposed my data. The fixes that are available do not work for me (and many others that I have read). Is there any version of Lunix which does not leak the DNS when connected to VPN? I'm considering going back to Windows
@rakeshmisra1671
@rakeshmisra1671 5 жыл бұрын
could you please share the procedure where VPN server is created on the virtual machine ( as guest) and i create the VPN tunnel from the Host machine or other Virtual machine (guest) ..... if you have already shared some view , then please share the link of same
@johanandreybaron
@johanandreybaron 4 жыл бұрын
if you use firewalld from the server side (centos), you have to enable openvpn and masquerade, otherwise it won't work
@grimalkinn8092
@grimalkinn8092 Жыл бұрын
i subscribed just so you can stop burning our eyes with lightmode👍👍
@carllast5631
@carllast5631 7 ай бұрын
Good script, real time saver. Thanks
@keylanoslokj1806
@keylanoslokj1806 Жыл бұрын
can i create a VPN in linux mint with a virtual box VM?
@nuclearnyanboi
@nuclearnyanboi 5 жыл бұрын
Can I use a Raspberry pi as a VPN server?
@PixelHamster
@PixelHamster 5 жыл бұрын
Yes
@MikeGarcia1Putt
@MikeGarcia1Putt 5 жыл бұрын
Yes, you can use a Raspberry Pi as a VPN server. There are videos here on KZbin on how to set that up. Search "raspberry pi vpn server openvpn" on KZbin and you will get several good tutorials.
@nuclearnyanboi
@nuclearnyanboi 5 жыл бұрын
@@MikeGarcia1Putt :)
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
I have not tried it, but I am sure you can.
@jameslemon9544
@jameslemon9544 4 жыл бұрын
Your explaination was perfect, thank you sir.
@sinasts3633
@sinasts3633 3 жыл бұрын
is there a limit in making new users?
@skip123davis
@skip123davis 4 жыл бұрын
great video, and VERY well presented! 👍
@lifanx2887
@lifanx2887 11 ай бұрын
How to connection with android sir?
@smartassist9700
@smartassist9700 4 жыл бұрын
Can I use PASPBERRY PI 4 B. - 8GB ? I will use USB BOOT WITH SATA SSD DISK FOR FASTER PER FOMANCE. CURRENT OS IS RASPIAN OS 32BIT. IS THERE A LIMIT TO WHATLINUX I USE FOR THE APPLICATIONS I WANT TO USE? Can I also run “”pi hole”” on same server or do I need a separate raspberry pi?
@alexandruzaharia8923
@alexandruzaharia8923 10 ай бұрын
What UI are you using for the linux server?I can't decide, and yours looks nice :))
@smartassist9700
@smartassist9700 4 жыл бұрын
Will all apps required and pi hole run on “”GENTOO LINUX””? They have a good new GENPI64 version (64 bit) that runs very good on RPI4-8GB. I AM TOTALLY NEW to Linux. This is my first Linux computer. I need to learn basics such as seeing disk, memory, files, (basics I know in Microsoft.) I will over clock the PI “”a little”. If you have not tried the new Raspberry pi 4 - 8GB, I highly recommend it! Please answer questions. Most Humble Appreciation! Alton
@GooogleGoglee
@GooogleGoglee 5 жыл бұрын
Yeahhh! Best video ever! OpenVPN is the best!!!!! Superlove this video, thank you!
@Thedevilhealer
@Thedevilhealer Жыл бұрын
i dont know if you read this comment or nah. but there is no VPN client folder in /etc/openvpn
@zhappaszhandos1335
@zhappaszhandos1335 2 жыл бұрын
он русский или мне так кажется? 😄
@joveezy19
@joveezy19 3 жыл бұрын
Is this script still functional, and is it compatible with Debian 10, it doesnt seem to be working when i run it
@sanjaythakur8883
@sanjaythakur8883 4 жыл бұрын
I need help bro plz make video how to install nord vpn in kde manjaro ...plz plz
@muhammadadnanhutomo
@muhammadadnanhutomo 8 ай бұрын
thanks a lot, i really need this simplicity and you deliver.
@syedtaimoorhussain4626
@syedtaimoorhussain4626 2 жыл бұрын
1194 is a very known port by now, it is not safe to use it anymore.
@anton-pavlov
@anton-pavlov 5 жыл бұрын
Thanks! My morning mood. ) Well done!
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
:))) Thanks
@TheBoomsat
@TheBoomsat 2 жыл бұрын
Had to change do google dns but worked fine! Tks
@jolly1039
@jolly1039 4 жыл бұрын
Work but I am unable to access local smb or local printer
@leonhardwidmer2597
@leonhardwidmer2597 3 жыл бұрын
Hope somebody can help me, I used the script and it worked perfectly fine. When I try to load the .ovpn file on my windows machine, OpenVPN gives out the error "Failed to parse profile: static_key_parse_error" anybody knows how to solve this? Apparently in the .ovpn file there should be something between and but I could not find what it should be Any solution? Thanks in advance
@AverageLinuxUser
@AverageLinuxUser 3 жыл бұрын
Sorry, I don't use Windows. Can't you add the settings manually? Open the icon file with a text editor and copy-paste all the settings
@xinzhang8592
@xinzhang8592 5 жыл бұрын
What's the difference between openVPN, shadowsocks and v2ray?
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
openVPN is VPN, shadowsocks and v2ray are proxies. VPN protect 100% of traffic from your computer. Proxy masks only specific applications (e.g. Web-browser)
@turtlewax3849
@turtlewax3849 5 жыл бұрын
Hopefully a vid, with your way of explaining, can help the rookies (like me) install iTunes. Yeah Yeah.... I hear the boos and hisses lol! Sometimes a backup is needed for Crapple products lol
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
I had to deal with iTunes once and not for myself. I ended up installing it in Windows that works in a VM under Linux kzbin.info/www/bejne/roDUfWyHoct0ras
@alirezaalavi1504
@alirezaalavi1504 3 жыл бұрын
thanks man this was an amazing tutorial
@beroshko
@beroshko 5 жыл бұрын
But Openvpn allows only 2 licences so it is not free, is there a free alternative?
@sinasts3633
@sinasts3633 3 жыл бұрын
is this really true?
@huuvan4500
@huuvan4500 3 жыл бұрын
this is really a good chanel
@ngobao08
@ngobao08 5 жыл бұрын
Can you tell me how to install Microsoft office 2016 or 2019 on Ubuntu? thank you!
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
You can try installing them in Wine. But to get them working 100%, use Windows in a VM kzbin.info/www/bejne/roDUfWyHoct0ras
@skip123davis
@skip123davis 4 жыл бұрын
not to upstage the host, but i agree: a vm is the way to go, and you can even use virtual box, which i've done many times, but not lately. i also have had very good experience with crossover. early days weren't so good cuz the core 2 duo era and before just didn't have enough horsepower, but modern hardware really makes that work just fine.
@alexanderrud6345
@alexanderrud6345 5 жыл бұрын
Hallo, do you have any video about RAID in linux?
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
Not yet.
@pouyalnx9654
@pouyalnx9654 2 жыл бұрын
Excellent 🙏🙏
@kamalhm-dev
@kamalhm-dev 5 жыл бұрын
Make a video on how to set up your own seedbox please
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
I have never had a need to run a seedbox. So, unless someone will sponsor it, there won't be such a video soon.
@scottlinovitz2880
@scottlinovitz2880 5 жыл бұрын
You explain the topic very well, thanks!
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
Thanks for the feedback
@anand_maurya
@anand_maurya 5 жыл бұрын
Very informative. Thank you.
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
Thank you for watching
@chevxphone1126
@chevxphone1126 5 жыл бұрын
Great video, thank you!
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
Thank you for watching
@wong_tai_ming
@wong_tai_ming 5 жыл бұрын
Which Linux distro do you use?
@johnnybards8831
@johnnybards8831 5 жыл бұрын
Arghadeep Mazumder he is using arch, he mentioned it and he is also using pacman. He might be using Manjaro.
@AverageLinuxUser
@AverageLinuxUser 5 жыл бұрын
I have 3 computers that run Arch Linux, KDE Neon, elementaryOS.
@mymail333g
@mymail333g 3 жыл бұрын
Спасибо за скрипт установки, там есть полезная особенность, она добавляет пароль на подключение к серверу.
How to Make Your Own VPN (And Why You Would Want to)
25:54
Wolfgang's Channel
Рет қаралды 2,3 МЛН
PiVPN : How to Run a VPN Server on a $35 Raspberry Pi!
35:06
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,9 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Linux on Windows......Windows on Linux
23:54
NetworkChuck
Рет қаралды 432 М.
Self Hosted WireGuard VPN on OpenBSD
26:46
Mental Outlaw
Рет қаралды 88 М.
Setting up the YubiKey on Ubuntu (Desktop and Server)
23:30
Learn Linux TV
Рет қаралды 48 М.
Set Up Your Own VPN at Home With Raspberry Pi! (noob-friendly)
18:16
Wolfgang's Channel
Рет қаралды 698 М.
Should You Make Your Own VPN?
8:13
Linus Tech Tips
Рет қаралды 1,7 МЛН
How to Set Up a Linux Home Server from Start to Finish!
1:04:59
hoff._world
Рет қаралды 36 М.
How to Make Your Own VPN & Configure it For Maximum Privacy
25:15
Linux advantages
13:13
Average Linux User
Рет қаралды 20 М.
5 Things To Do Right After Installing Linux
11:15
DistroTube
Рет қаралды 41 М.
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Рет қаралды 250 М.
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19