Тёмный

How to set up a Linux VPN server (script) 

Average Linux User
Подписаться 101 тыс.
Просмотров 81 тыс.
50% 1

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

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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/
@muhammadadnanhutomo
@muhammadadnanhutomo 9 месяцев назад
thanks a lot, i really need this simplicity and you deliver.
@alexandruzaharia8923
@alexandruzaharia8923 11 месяцев назад
What UI are you using for the linux server?I can't decide, and yours looks nice :))
@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?
@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
@skip123davis
@skip123davis 4 года назад
great video, and VERY well presented! 👍
@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?
@carllast5631
@carllast5631 7 месяцев назад
Good script, real time saver. Thanks
@jameslemon9544
@jameslemon9544 4 года назад
Your explaination was perfect, thank you sir.
@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 :) )
@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
@GooogleGoglee
@GooogleGoglee 5 лет назад
Yeahhh! Best video ever! OpenVPN is the best!!!!! Superlove this video, thank you!
@scottlinovitz2880
@scottlinovitz2880 5 лет назад
You explain the topic very well, thanks!
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thanks for the feedback
@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
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-du-nWMCRkqE.html
@johanandreybaron
@johanandreybaron 4 года назад
if you use firewalld from the server side (centos), you have to enable openvpn and masquerade, otherwise it won't work
@alirezaalavi1504
@alirezaalavi1504 3 года назад
thanks man this was an amazing tutorial
@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?
@downeywang7752
@downeywang7752 Год назад
My TLS key negotiation failed to occur within 60s I'm sure WIFI is ok. What's the problem?
@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
@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
@sinasts3633
@sinasts3633 3 года назад
is there a limit in making new users?
@keylanoslokj1806
@keylanoslokj1806 Год назад
can i create a VPN in linux mint with a virtual box VM?
@anand_maurya
@anand_maurya 5 лет назад
Very informative. Thank you.
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thank you for watching
@huuvan4500
@huuvan4500 3 года назад
this is really a good chanel
@chevxphone1126
@chevxphone1126 5 лет назад
Great video, thank you!
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Thank you for watching
@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 RU-vid on how to set that up. Search "raspberry pi vpn server openvpn" on RU-vid 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.
@lifanx2887
@lifanx2887 11 месяцев назад
How to connection with android sir?
@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)
@jolly1039
@jolly1039 4 года назад
Work but I am unable to access local smb or local printer
@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?
@grimalkinn8092
@grimalkinn8092 Год назад
i subscribed just so you can stop burning our eyes with lightmode👍👍
@pouyalnx9654
@pouyalnx9654 3 года назад
Excellent 🙏🙏
@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.
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xOqL9QlfAwI.html
@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.
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xOqL9QlfAwI.html
@Thedevilhealer
@Thedevilhealer Год назад
i dont know if you read this comment or nah. but there is no VPN client folder in /etc/openvpn
@syedtaimoorhussain4626
@syedtaimoorhussain4626 2 года назад
1194 is a very known port by now, it is not safe to use it anymore.
@sanjaythakur8883
@sanjaythakur8883 4 года назад
I need help bro plz make video how to install nord vpn in kde manjaro ...plz plz
@leonhardwidmer2597
@leonhardwidmer2597 4 года назад
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 4 года назад
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
@alexanderrud6345
@alexanderrud6345 5 лет назад
Hallo, do you have any video about RAID in linux?
@AverageLinuxUser
@AverageLinuxUser 5 лет назад
Not yet.
@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.
@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
@zhappaszhandos1335
@zhappaszhandos1335 2 года назад
он русский или мне так кажется? 😄
Далее
How to Make Your Own VPN (And Why You Would Want to)
25:54
PiVPN : How to Run a VPN Server on a $35 Raspberry Pi!
35:06
PUBG Mobile СТАЛ ПЛАТНЫМ! 😳
00:31
Просмотров 219 тыс.
Windows & macOS can't do this, but Linux can!
15:55
Просмотров 894 тыс.
How A Steam Bug Deleted Someone’s Entire PC
11:49
How to Install and Configure OpenVPN Server on Windows
19:42
What is Linux swap?
7:10
Просмотров 133 тыс.
How and why I switched to Linux
12:22
Просмотров 229 тыс.
Self Hosted WireGuard VPN on OpenBSD
26:46
Просмотров 88 тыс.
How to Create your own Secure VPN (and why you should)
14:47
How to Set Up a Linux Home Server from Start to Finish!
1:04:59