Pritunl VPN with WireGuard! Free, Open Source, Self Hosted, and Fast! Speedtests Show WireGuard Wins

  Рет қаралды 36,689

Awesome Open Source

Awesome Open Source

Күн бұрын

Пікірлер: 150
@wizdude
@wizdude 4 жыл бұрын
Thanks for the awesome video and especially thanks for the speed comparison. I knew wireguard was faster but wow that was great to see the real performance difference. Going to check this out further. Keep up the great work :-)
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Glad to help
@RicardoWagner
@RicardoWagner 2 жыл бұрын
Hi Brian, thanks for showing us this great product-- will try it tomorrow. There is a part of the tutorial that you dint switch to the terminal window.. Cheers
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
If you have issues, please let me know. I'm happy to try an help. Easiest way to find me is at discuss.opensourceisawesome.com. Best!
@RicardoWagner
@RicardoWagner 2 жыл бұрын
@@AwesomeOpenSource Couldnt find the Ubunut 20.04 installation instructions in the Pritunl website. There are a couple tutorials but a bit outdated. Seems they dont support Ubuntu anymore
@papperme
@papperme 4 жыл бұрын
Thanks for this tutorial software. Wow that is great and handy management tool to implement. Many thumbs up
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
You are very welcome
@vivaiceboy2008
@vivaiceboy2008 3 жыл бұрын
Awesome guide provided by you but is there any web UI that would allowed users to login to the web-UI to monitor their usage or perhaps download the client setting for the VPN?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Not sure you would really want them logging in to this web ui as it's the admin UI, so nothing off the top of my head that would allow that, but I'll keep an eye out.
@Jorgeperez1250fak
@Jorgeperez1250fak Жыл бұрын
awesome video, great explanation, just one cuestion do i have to expose the 443 port to the internet for wireguard to work meaning autenticate? or it's the wireguard port e.g: 52802 enough
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
No, no need to expose it to the internet. Wireguard will work off of a different port.
@willielemaitre3854
@willielemaitre3854 Жыл бұрын
Great video as always tx Brian! How do we set this up behind the NPM please? Been trying for hours now...
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
So, you'll need to forward a few more ports to have this behind a firewall, but if you just want it behind a proxy for the web management interface, I'd have to look at it again. I've been using Netmaker for my setups lately, and haven't had a need for PriTunl in quite a while.
@willielemaitre3854
@willielemaitre3854 Жыл бұрын
@@AwesomeOpenSource If at all possible please... I have a NPM running on a masive local server for the company i work for. All running perfectly, but we now need to add vpn as a service to various of our clients 🙂
@HFSYung
@HFSYung Жыл бұрын
Great Vid, thanks. This service does not allow a client to route traffic to the local network, correct?
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
I believe you can setup routing from inside the Web UI, but I never tried it myself.
@DJDashzn
@DJDashzn 3 жыл бұрын
Hi there. Wonderful content as always. How would you connect real servers to this service. For example if you want to connect to multiple sites and they all have servers that you want to access. Would you have to install this software in each site. For a home case scenario I assume that once you’re logged into this you could access your home network. Would you have to make the IP addresses when setting up The server the same as what you have at home so that you could reach the machines behind your Rueter
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
You may have to do some fancy networking for this if you don't want to setup each server as a client individually. You could potentially use the OpenVPN config on your router if it supports it, and jump in that way. there are several options, and it kind of depends on what you're trying to accomplish as to which method may fit best.
@ManishSahay
@ManishSahay 4 жыл бұрын
Excellent tutorial. Thanks :)
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Glad you liked it!
@parvizhomayun1588
@parvizhomayun1588 3 жыл бұрын
It was really informative and very useful, I thank you for publishing this very practical and necessary knowledge...I look forward to your wonderful work on open source ... :)
@parvizhomayun1588
@parvizhomayun1588 3 жыл бұрын
Of course... Awesome Open Source... (;
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Thank you, and glad you enjoyed it.
@lightspeed79
@lightspeed79 2 жыл бұрын
What if I want to run the Pritunl on Windows and use Wireguard? I am only getting the openvpn option.
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
You need to install Wireguard on the server, and make sure it’s installed on your Windows machine.
@lightspeed79
@lightspeed79 2 жыл бұрын
@@AwesomeOpenSource Ok got that working, now when I try to connect with WG I get this error: ERROR User auth wg failed "Challenge OTP code" → but the OTP code works fine with OpenVPN
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Not sure on that one. I know in the past I've asked on the Pritunl forum, and they were very kind and helpful with their answers. Maybe they can help you out more.
@faisalkhan786fk
@faisalkhan786fk 3 жыл бұрын
Can you use the open vpn or wireguard clients themselves on the client devices rather than the pritunl client? Also thank you very much brilliant video.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
You can use the OpenVPN client on devices, and in fact this is what they want for iOS and Android, but Wireguard, unfortunately is a different story. They don't create a single configuration file per client, but instead create the config as you connect. So, for this reason Wireguard won't even work with iOS and Android through Pritunl.
@faisalkhan786fk
@faisalkhan786fk 3 жыл бұрын
@@AwesomeOpenSource ah thanks for response, my end points are going to be windows machines accessing the central network remotely. Wireguard works with pf sense right, I know pf sense has open Vpn integration which streamlines things.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
@@faisalkhan786fk I think Wireguard was removed from pfSense for a bit, til they work out some issue (really from BSD I believe), but you'll want to use OpenVPN with Pritunl anyway. they way Pritunl handles Wireguard, you need their app to make the connection. With OpenVPN, you can download the config, and just use that on your pfSense box I believe.
@limother3749
@limother3749 3 жыл бұрын
Is it possible to send print from computer a to computer b where it sit on another local network
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Should be, yes. Assuming the printer on Computer B is shared, and available over the VPN network.
@AndyDavis007
@AndyDavis007 4 жыл бұрын
Please check mic levels or fix in post. Unfortunately, yes, the audio is getting in the way of what I imagine could be a great tutorial.
@kridhick
@kridhick 4 жыл бұрын
Hey nice video. Thanks a lot for the detailed quality content. Can you please do the setup for syncthing on digital ocean?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Been a while since I've setup Syncthing, but I'll give it a shot, and if it goes well, I'll make a video.
@dimitristsoutsouras2712
@dimitristsoutsouras2712 4 жыл бұрын
Did you skip for a reason the Increase Open File Limit step? Also did you port forward only 52820 (wireguard network) or 14196 (virtual network) too? PS: At 22:10 you mention that the created users can also log in to get the link to download the client conf files/setup file, with their credentials. At the adding user screen you just added the user name without a pin and an email. So which will be the credentials then for that user?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
No. I have had to do it before. I just didn't think to do it.
@dimitristsoutsouras2712
@dimitristsoutsouras2712 4 жыл бұрын
@@AwesomeOpenSource Oh ok what about the ports?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
@@dimitristsoutsouras2712 I did not have to port forward anything As I am running on a VPS, but if you have a firewall up and only want to allow traffic on those ports, I suggest, 22, 80, 443, and then you'll have to see which ports Pritunl is using for your OpenVPN and Wireguard (as they'll be different).
@nnamdiochonogor9165
@nnamdiochonogor9165 4 жыл бұрын
Hi, fantastic tutorial. was easy to follow. i set it u following your video but on the pritunl client for mac is does not show WG option to connect. i installed wireguard tools on the server already.
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Did you install wireguard on your mac?
@nnamdiochonogor9165
@nnamdiochonogor9165 4 жыл бұрын
@@AwesomeOpenSource yes i did
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
@@nnamdiochonogor9165 Hmmmm... you might ping the PriTunl folks to see where the client app is loking for the Wireguard install...maybe it's looking in the "wrong" place. The only bad thing about Pritunl, if you can call it bad, is that they generate new keys each time you connect, so you can't just use the Wireguard app for MacOS.
@nnamdiochonogor9165
@nnamdiochonogor9165 4 жыл бұрын
@@AwesomeOpenSource I will try install on a Windows comp and see. Thanks
@rubensilva6443
@rubensilva6443 4 жыл бұрын
@@AwesomeOpenSource same problem has @nnamdi. on windows it got me the ovpn and wg after install and reboot the pritunl client, but on mac it wont show up. the wireguard was installed via app store
@leonpinto5693
@leonpinto5693 3 жыл бұрын
Hello... Good video... I was trying to use Pritunl on windows... While it works correctly with OpenVPN, I am not able to get it to connect on Wireguard mode... I have the wireguard package installed on windows but the pritunl client does not seem to pick it up... Could you kindly suggest how to get the wireguard mode working?... I have the wireguard server running on the pritunl server as required and the server configured to work in wg also... Any hints will be welcome...
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Once you setup WireGuard, did you re-download a new profile from the server and import it into the pritunl client?
@anekarupa7589
@anekarupa7589 2 жыл бұрын
I also have a problem like this
@joaoleonardolemos9078
@joaoleonardolemos9078 Жыл бұрын
What if i want to connect to wireguard server only using the wireguard CLI, without the pritunl client. Is it possible????
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Not with Pritunl that I'm aware of. They handle things in a very dynamic way, which also (at least at the time) made it so no mobile device could connect via wireguard.
@ggyun
@ggyun 4 жыл бұрын
Love ur content, since u have so many services on docker, how do u think about using rancher and K8s to manage all the service to improve the performance? and if I only have one VM (node) on proxmox, I would like to have Pritunl, openproject, Discourse, Joplin, nextcloud, SHINOBI cctv all with dockers, is it possible? to manage with subdomains with different services, Nginx or Traefik which one u think is better? thank you.
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Sorry for the late reply, but let me answer in order. I say if you like Rnacher or K8s, then definitely give them a go. I just use straight up docker because even though I run 20 or so containers, it's actually not a super complex setup. As for running all of those services on a single host. I absolutely think you can. That's what I do now with my SSDNodes server, and my home laptop server. I have 19 or 20 active containers running on SSDNodes with room for more, and 5 or 6 on my home server with room for more as well.
@paulmaydaynight9925
@paulmaydaynight9925 3 жыл бұрын
its unclear how you do this on a working self hosted fast home -192 cut as yt deletes the post- proxmox wan -not 3rd party payed servers- for outside publicprivate wireless/4G Chromebook etc , any idea for that as an update , perhaps even include a step by stop to also use 'Virtual Network in Proxmox for the MPTCP or OpenMPTCPRouter Test' for using both for increased combined wan throughput for uploads
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Let me see what I can come up with. Though something like Drago for Wireguard, or NetMaker might be better for this.
@paulmaydaynight9925
@paulmaydaynight9925 2 жыл бұрын
@@AwesomeOpenSource it seems seashell /drago is dead for nearly a year. Netmaker seems to be good including a 3rd party Netmaker-Openwrt client & real mesh out of the box but without a start to end walkthrough it lost me ,shame. see OneMarcFifty/videos style with his Openwrt & practical Virtual Network in Proxmox for MPTCP Test lab vids for inspiration -thinking 100 foot ,3 channel wireless MPTCP bridged mesh for better throughput or to a wired vpn+Netmaker mesh-
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
@@paulmaydaynight9925 Been looking at NetMaker, but it's a bit flaky at times. Still looking for just the right solution.
@zacheryeritano6487
@zacheryeritano6487 3 жыл бұрын
Do I just install WireGaurd for Windows if I want to have the option available to me when connection on pritunl?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Yes, you need wireguard on the server running pritunl as well as on the clients you want to use it with.
@shawsehan4854
@shawsehan4854 3 жыл бұрын
Request for the same wireguard set up on windows
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
You can run the client on Windows already. If you mean the server, that’s a request for the Pritunl folks.
@Jacespace23
@Jacespace23 4 жыл бұрын
My question is do you have to rent a outside of your network service? I see a lot of videos saying "host your own vpn" but then in the middle of the video oh you have to rent a cloud or dns service etc..
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
No, you can run this on a machine inside your own network, but you need to setup appropriate port forwarding to allow traffic from machines outside your network to connect through to the server you setup.
@sidneyking11
@sidneyking11 3 жыл бұрын
the install bactch file has change in pritunl. can not get it installed now for ubuntu 20.4
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
What error are you seeing?
@majidkhoram2451
@majidkhoram2451 2 жыл бұрын
You are awesome 💪🏻👍🏻🌸
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Thank you!
@JeDeXxRioProKing
@JeDeXxRioProKing 4 жыл бұрын
Very good content Thank You a lots
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
You are welcome!
@okanerdem
@okanerdem 3 жыл бұрын
I want to ask something about vpn server. There is something that I can't quite understand the logic of. I will be glad if you are help about that. For example I'm using a raspberry pi for vpn server at home and it's connected to the my home network. My home internet speed is 25 Mbps download and 5 mbps upload. For example i go to the office and internet speed is 100 mbps download and 100 mbps upload at office. If i connected to the my vpn server. What should be speedtest/fast test result? I mean my home network upload speed should be my download speed at outsite? Could you please explain about that? Because when i test at office i can see 30-40 mbps but normally my home network download speed 25 and upload speed is 5 mbps.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
If your speed for upload from home is limited to 5 mbps, then that's all you'll get pulling information from outside your network. Where are you running the speedtest from and to?
@okanerdem
@okanerdem 3 жыл бұрын
​@@AwesomeOpenSource I did on speedtest and fastcom Honestly i did not choose any special config, i opened test website and i did speedtest directly. Strange, i saw 30-40 mbps download speed but normally should be max 5 am i right? what's wrong there?
@jaagannathprasadgiri4469
@jaagannathprasadgiri4469 3 жыл бұрын
Can we do split tunneling in Pritunl?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
There are routing options built into their interface, so you might be able to set it up there, but nothing specific to it in the UI.
@HugoLinux
@HugoLinux 3 жыл бұрын
In my lab, I had a problem that so far I haven't been able to solve. When I close the tunnel, both with WG and O VPN, my websites do not access with my domain, but via the internal ip. It is giving refused connection. How do I solve this?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Is your lab firewall setup to allow traffic through the ports, and where is your A record set for your domain?
@oTu5894
@oTu5894 Жыл бұрын
Can I use on Wireguard client?
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
They have their own client for desktop and mobile, and I believe they way they do it, you need to use their client when it comes to wireguard.
@idriskautsar4895
@idriskautsar4895 2 жыл бұрын
how to config windows client using wireguard tunnel ?
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
You need to have wireguard installed on Windows, then pull down your profile to the Pritunl Client running on your windows machine.
@tony-ma
@tony-ma 3 жыл бұрын
can pritunl work with Azure ad authentication?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
I haven't done it myself, but I found this. docs.pritunl.com/docs/azure-zero Maybe it will help you.
@dirtyoptics7498
@dirtyoptics7498 4 жыл бұрын
Can I use the Wireguard connection from an iPhone? Noting that iOS does not seem to have a native pritunl app??
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Dirty Optics so for the OpenVPN connection on iOS and Android, Pritunl suggests and works well with the OpenVPN app. For WireGuard, there are apps for both platforms, though I’m not sure yet how to get the WireGuard settings to the app from Pritunl.
@dirtyoptics7498
@dirtyoptics7498 4 жыл бұрын
Awesome Open Source thanks for the reply! Yes I want to be able to use wireguard on my iphone, here in Australia speed is at a premium and the more I can squeeze out of our cellular networks the better!
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
@@dirtyoptics7498 Now I'm curious at how hard it might be to pull out the WireGuard config from the PriTunl side...and put it on my phone...so I'll start investigating when I get a few minutes.
@DarkNightSonata
@DarkNightSonata 4 жыл бұрын
@@AwesomeOpenSource I'm very interested in this as well, hope you can find the way to do it. Thanks and waiting for your update
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
So I started looking at this, and finally just reached out to Pritunl support. Because they use a setup where new keys are generated every time a client connects, they don’t use a “configuration” file that can be used by a iOS or Android client. Makes me sad, but it is what it is. There is, however another project called Mistborn that I really like, and will do a video on eventually. The install is quite straightforward, and you can use you smart devices with it. It uses Wireguard on the backend.
@j0shuaj
@j0shuaj 3 жыл бұрын
Hello I have set this up and forwarded all the ports I think I should have. I am doing this on a Proxmox VM and am wondering if the ip ranges you used in the video are usable for everyday and if they will cause conflict with my isp. Also I didn’t use 192.168…. because I don’t want to conflict with those already assigned by my home router.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
You can set any IP Range you want, but yes, I definitely recommend staying within the Private IP Ranges if you can. 10.0.x.x, 192.168.x.x, 172.0.x.x, etc. If you are only running a Class C network at home 192.168.1.x for example, then you can use 192.168.110.x on your VPN without conflict.
@MdMozammelHossain
@MdMozammelHossain Жыл бұрын
is it free? I've installed it on my own cloud server, and it showing that "7 day free Premium" and "upgrade to Enterprise"
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
The are a business, and of course would like you to upgrade, but the open source portion can be used at no cost.
@dirtyoptics7498
@dirtyoptics7498 4 жыл бұрын
Do you have to open up the WG port if ufw is not active??? or activate firewall, add that rule plus all the others?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Dirty Optics if you mean in your router, no, you shouldn’t. If you mean on the machine itself, probably. But I think Wireguard is an outgoing connection that creates the tunnel back in, so not sure you should even have to open a port on the machine.
@dirtyoptics7498
@dirtyoptics7498 4 жыл бұрын
@@AwesomeOpenSource Sorry I did not think I had submitted that comment. I was trying to do some funky stuff with client-side traffic and was hitting roadblocks. Got it sorted though.
@AMian-yf2hn
@AMian-yf2hn 4 жыл бұрын
Hey, another great tutorial ! Question: Can we make this really simple for the client side, eg only WG and only need type in assigned user/password?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
So, the folks at PriTunl have set it up so you don't need a user / pass for wireguard, other than to pull down your config. The config is what really does the connection for you. You don't have to enable to pin if you don't want. AS for not using the OpenVPN portion, I'd say, you probably can't turn that off due to the way they have it setup currently. Additionally, you can't use the PriTunl WireGuard setup with a mobile device, so if you want to connect you need the OpenVPN mobile client, and OpenVPN setup for access via mobile.
@ncbmullan
@ncbmullan 3 жыл бұрын
Does Pritunl support implementing/using it in a MESH VPN model.?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Not really, the server is the hub connection point. No P2P that I’ve seen.
@TheBlueThird
@TheBlueThird 4 жыл бұрын
Didn't wireguard have some privacy issues recently?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Maybe you're thinking of the logging? Yes Wireguard logs IP addresses, and connections, etc. But it wasn't made as a privacy tool from that aspect. It's a VPN. It has speed and security in loads. I use it as my private network VPN, not a service I offer to others. I suppose, as well, if you are the one running the service, and you want to setup a cron job to delete the logs you can. Not sure if that is what you were asking about, but hope ti helps.
@AsadAhmad-p3k
@AsadAhmad-p3k 6 ай бұрын
good but you were connected via OVPN not wiregaurd in this vdo.
@AwesomeOpenSource
@AwesomeOpenSource 6 ай бұрын
I connect via both, but might have been connect over OVPN during recording.
@ierosgr
@ierosgr 4 жыл бұрын
How come and it connected via OpenVPN since you didn t set it up at first place
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
OpenVPN is the default for PriTunl. They have added WireGuard as an option. But when you install PriTunl it is installing and configuring OpenVPN.
@ierosgr
@ierosgr 4 жыл бұрын
@@AwesomeOpenSource and it uses same user/pass credentialas for both?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
@@ierosgr Wireguard uses a config file that is downloaded with new certificates each time, but yes, the user interface of the client uses a configuration file for both that the user can log in to download to their machine. So user logs into server UI, or you send them a link that is only valid for x hours, and either way they download a configuration for their connection to the.VPN. You can set a PIN for them to use when they connect as well, if you want.
@LuCkYLaToRrE
@LuCkYLaToRrE 4 жыл бұрын
how can i do IP.based routing in Pritunl? Is it configurable using UI? or have to ssh to the instance? Thanks a lot!
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
I have never done routing using PriTunl, but as I recall, you can setup routing rules through the UI.
@xrkund
@xrkund 4 жыл бұрын
When click "Start Server" I never get any log output on the screen, though status says Online, and uptime is counting upwards. I'm also never able to connect. Any ideas?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Check the firewall if you’re unable to connect. Not sure about output to the screen. I see some log output when I start my server each time.
@xrkund
@xrkund 3 жыл бұрын
@@AwesomeOpenSource it would up being because I had wire guard enabled, but not installed. Disabling the wire guard feature in pritunl solved this.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
@@xrkund Glad you got it figured out.
@nicu9028
@nicu9028 4 жыл бұрын
hi, can you make a video about Authelia?
@ultrazSupporter
@ultrazSupporter 4 жыл бұрын
myunraid.ru/install-authelia/
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Let me read up on this one a bit.
@fernando.luccas
@fernando.luccas 4 жыл бұрын
Everything is ok as in your video but when I want to connect to WG from the pritunl-client in Ubuntu it throws me "failed to connect", from the OVPN option it connects me perfectly, do you know what it can be? Any more happened to him?
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
You have installed Wireguard-tools on your Pritunl server, yes?
@fernando.luccas
@fernando.luccas 4 жыл бұрын
@@AwesomeOpenSource Yes, and even install the wireguard-dkms to discard, I see the OVPN and WG buttons but when I choose WG the message above appears in red "Failed To Connect"
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
@@fernando.luccas Ok. I believe there is a place in the PriTunl client to view logs. Can you try connecting, and then copy those logs and send them to me on Telegram @MickInTx? I'll take a look and see if I notice anything obvious.
@fernando.luccas
@fernando.luccas 4 жыл бұрын
@@AwesomeOpenSource ok
@ierosgr
@ierosgr 4 жыл бұрын
Several things seems to work different than your way... -up until i login to the pritunl webgui seems ok. I also created the server, an organization and the client (where I also didnt set up a pin). Attached the organization to the sever. By the way it found my public ip (which is static) correctly. I checked the wg box entered same port as yours and made networks virtual and wg differ as it should. Started the server no errors there. After that I downloaded the client for windows (there upon finishing installation it stays forever at the screen configuring pritunl) No firewall blocks it (nor Comodo nor Defender). If I stop the service the shortcut for pritunl is there on desktop and starts So it remains to go to the server side and copy the temporarily link which is like pritunl://the_ip_of_server_running_pritunl /alphanumerical/alphanumerical And there lies the problem. How the client supposed to import the credentials when it is not connected to the server. Since the client is in a remote location and the server is in another area. The link which has to be copied shows the local ip and not the public one. Even if it would shown the public one there is no connection between the client and the server how t import that credentials or whatever this link offers to the client?? Do I have to install except pritunl a wireguard setup client program on windows also? Still cant figure out why in the link for the client you get the public ip (translated in domain name that is ok) and I get the servers local ip address instead the public one. Then again that is not the reason why the client cant import something that is in a remote location and no connection between client and server has been established at first place, In an openvpn environment is more straightforward you have that .ovpn file you copy it to a usb stick from the server (or via scp ans ssh) and load it to the client After that you connect and having done correctly the port forward to the servers port listening the vpn service the client connects. PS As @Dimitris mentioned below you had two ports typed (during gui server side setup) one for virtual network (auto-generated) and a wireguard one. Did you open ports for both of them in your router? Ive set up piVPN in minutes, ubuntu open vpn server in 30-45mins. I am trying this way for several hours and I have only problems, I cant figure out what am I missing since I followed it to the letter
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
It sounds like you may be running this on a local machine in your LAN, I could be wrong, but if you are, then know that I set this up on a VPS at digital ocean. So there was no firewall up, but if you turn on a firewall you'll need to open ports 22, 80, 443, and the ports you set for OpenVPN and Wireguard in the jPritunl Web UI. As for the connection to the server for other users, you can create a user for them, and then send them the temporary link to download the files they need to import into Pritunl Client. Yes, you have to install wireguard on both the server and client in order for PriTunl to make the wireguard connection. Hope this helps.
@ierosgr
@ierosgr 4 жыл бұрын
@@AwesomeOpenSource In both your assumptions the answer is yes. I knew that you have set it up in a digital ocean environment but that is not the point here. All my other successful attempts were on local machines also inside a local network and then poer forwarded the correct ports to point the local machine running the vpn service. So I don t see why I should have a problem I could manually correct that link the web gui gives for the client and put there my public ip but since it correctly found it at first place why put there the internal ip..No point at all The only thing I didnt fill up was thw lets encrypt option. Didnt put anything there. If I install also the wireguard client then the client it self has an interface to connect from there to a wireguard server I won t need the pritunl at all Finally why ports 22 80 443 (ssh http https) and not the ports for wireguard 52820 and the random generate one for the virtual network My last comment since you have to make other opensourceproject and this is not your last one :)
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
@@ierosgr I only add 22, 80, and 443 for the case you run on a VPS, but on an internal machine no need to open those externally if you don't need to access the machine for the server externally. PriTunl is not a Wireguard client, it's a GUI that runs on top of the Wireguard software, so you need to install wireguard on the client machines as well. As for why it finds the private IP, I don't know, it may just be checking the interface that is currently set as default. You'd have to ask the Pritunl folks on their support email about that.
@sumitsingh-CANDY
@sumitsingh-CANDY Жыл бұрын
It is easily blocked in deep packet inspection
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
I suppose anything can be blocked if they really want to, but using a VPN can help in so many situations that it's worth setting up something for sure.
@sumitsingh-CANDY
@sumitsingh-CANDY Жыл бұрын
Just curious how vpn companies do obfuscation@@AwesomeOpenSource
@Mcfryguy5555
@Mcfryguy5555 3 жыл бұрын
Awesome!!
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Thanks!
@ierosgr
@ierosgr 4 жыл бұрын
I am trying to find which part of this should I try according to my effort to set this up on an LXC unprivileged or not container inside a Proxmox. I know that I have to install pve headers and load each time the wireguard module on the host but after that, inside the container I dont know from where to start your way-guide In other words I need to know where to stop this guide nixvsevil.com/posts/wireguard-in-proxmox-lxc/ and from where to start yours ps: 9:32 when installation finished you went to pritunl.opensourceisawesome.com and asked for the key giving you the command to type in cli, where each one tries that should go afterwards in order to continue with the setup. Most services with gui after installation give you a hint of where to go ip adddress:port in order to load the gui. You just went to pritunl.opensourceisawesome.com without even specifying a port
@AwesomeOpenSource
@AwesomeOpenSource 4 жыл бұрын
Not sure how to do this on ProxMox, but essentially, you should be able to setup a Ubuntu VM in ProxMox, then run the install just as I did. As for the command to get the initial login credentials it's in their guide for installation. I link to it in the description area below the video.
@AnonymousAccount514
@AnonymousAccount514 3 жыл бұрын
I just want to be able to watch Netflix unfiltered…nothing fancy
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
I use digital ocean to host my VPN and don’t have any issues watching Netflix, but your VPS could have a lot of blocked IPs due to others using it for mass VPN.
@unknown-sc6if
@unknown-sc6if 3 жыл бұрын
The habit for ROOT user is same as me until ubuntu killed it and force user to use normal username for security reasons. It's just i still cant get enough with normal username. with root doesn't really had to use sudo at first and save some time lol.
@willielemaitre3854
@willielemaitre3854 3 жыл бұрын
Hi there. Great tutorial as always! I see it no longer works though. The pritunl.com has completely changed, and the install-pritunl.sh info no longer available there. Any update or advice would be appreciated!!
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Hmmm, let me check it out. I installed a fresh server just over a month ago.
@CatalystReaction
@CatalystReaction 2 жыл бұрын
not sure if its worth anything 10 months later but its made an appearance under the "[Other Providers] Ubuntu 20.04 " section of the installation doc
ССЫЛКА НА ИГРУ В КОММЕНТАХ #shorts
0:36
Паша Осадчий
Рет қаралды 8 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
How to Make Your Own VPN (And Why You Would Want to)
25:54
Wolfgang's Channel
Рет қаралды 2,3 МЛН
RustDesk - The Self Hosted Open Source Team Viewer Alternative
13:20
Mental Outlaw
Рет қаралды 175 М.
ALL ABOUT VPNs in OPNsense! Wireguard, OpenVPN, and IPSec Setup and Configuration
1:04:14
Why Open Source Alternatives are NOT Enough ...
7:06
Michael Horn
Рет қаралды 27 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
Self Hosted WireGuard VPN on OpenBSD
26:46
Mental Outlaw
Рет қаралды 91 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02