Make Your Own VPN Pt.2 - Use It Correctly! Netflix, Torrenting, Wireguard, etc.
HTML-код
- Опубликовано: 27 май 2024
- Sponsored by Linode!
Get $100 credit for your first cloud server or VPS here! (20 months free for a self-hosted VPN): linode.com/wolfgang
This video is a Part 2 of my tutorial on how to create your own DIY VPN!
If you haven't seen the first part, you can check it out here: • How to Make Your Own V...
Text version: notthebe.ee/blog/split-vpn-tu...
vpnify by laserbat: github.com/laserbat/vpnify
arch-delugevpn by binhex: hub.docker.com/r/binhex/arch-...
Support the channel:
Patreon / wolfgangschannel
PayPal (one time donation) www.paypal.com/donate/?hosted...
Follow me:
Twitter / notthebeeee
GitHub github.com/notthebee
Music:
jawolo - Luminism (ft. Yonderling)
Lalinea - [ctrl] (Instrumental Version)
Out of Flux - Ryefield
Liquify - Afternoon
Video gear:
Camera geni.us/HykaDI (Amazon)
Lens geni.us/AHhiW (Amazon)
Microphone geni.us/sLwA (Amazon)
RGB Light geni.us/aMi8WF (Amazon)
As an Amazon Associate I earn from qualifying purchases.
Timestamps:
00:00 Introduction
00:31 Use cases for splitting VPN and ISP traffic
01:54 How does it work?
03:33 Why not just use Shadowsocks?
04:11 Sponsored segment
04:31 Switching to Wireguard (Tutorial starts here)
05:38 Installing WSL2
06:33 Installing Docker
06:49 Installing a WSL distro
07:36 Setting up the container
10:14 Working with Deluge
11:16 Working with Privoxy
12:37 Setting it up on Linux
13:32 Setting it up on macOS
14:22 Outro - Наука
You're my favorite linux channel.
I find that the lower than usual upload frequency is more than made up in the quality of your videos, good work!
Agreed!
Not gonna lie, every time I see windows being hard to use for any particular thing. My day becomes just a bit more pleasant
@@gorillaman6827 Thats bad linux not competitive with Windows at all even linuxs creator says that I hope there is a good future you can use linux more comfortable in gaming etc.
@@gorillaman6827 yes if you just buy a better cpu and ram theres nothing of linux advantage you can use linux for programming env and daily basis
@@pai64 .net can't tho
As far as I'm aware
Same until I have to use it for work
For every thing that;s hard on Windows, there are two things that are hard on Linux and at least one thing that's impossible on Mac :P
this guy is the definition of a true gentleman. thank you for the amount of work you put on this videos. very informative
This setup looks really nice, I always love the screensavers blurred out behind you and the christmas lights give it a very comfy vibe, absolutely approve!
İs it even a screensaver if it runs animation and maybe uses gpu
The initial purpose of screensavers was to prevent burn-in on CRTs, so that's why they're animated.
Also, it doesn't take much resources, but then again, if you're a suckless adept, every kilobyte counts 😁
Nothing can stop you, Wolfgang. Great video!
i am so into linux isos, i have collected atleast 200GB of Ubuntu ISOs over the year
Gotta grab every point release amiright
@@josephferren6372 are you even a linux fan if you don't have every season..uhh. point release i mean
Good angle and good balance of background/foreground focus! Looks great.
i promise to use torrent only to download free non-proprietary software
@daenux i.ytimg.com/vi/dlKle4IOnZU/maxresdefault.jpg
that will be really useful, thanks for sharing.
Man you def earned my sub! You're so lax and detail your info so well! You're very easy to watch and learn from just from a general knowledge gaining standpoint. Keep up the great work and videos man!
Very nice video for more advanced users good job for the content and the explanation !
Great video, thanks for all your hard work, enjoy watching.
the setup looks cool!!! some cool posters maybe? just saying, they aren't need it hahaha
this was really insight full and cool for avoiding getting ban on games for using vpn
pd: you are the only person i watch a full linode ad, i usually skip that part on other people
great video, as always!
Very informative and easy to follow. Thank you.
wolfgang is the only /g/tuber that doesn't rant about stupid things, shittalk things out of bias, or look like he does free armor trimming.
Thanks, but what is free armor trimming 🤔
@@WolfgangsChannel it's a reference to old school runescape, because someone who shall not be named looks very similar to a certain character from that game....
ayyy new Bring Me The Horizon album :). Great video. Informative and easy to follow. More videos like this need to exist. People think VPN's are some magical products so the more people know, the better we will all be.
This is the solution I have been looking for! Thank you very much!
Super! thanks for this video.
That intro was pretty cool
Hey mate, I like your videos. And I think your subscribers gotta be quite experienced in IT and development things. Wanna ask u guys to advice some learning platforms those you can recommend for a beginner. Much love
Many thanks for helping out us old ppl. peace.
You could create a proxy when you activate you wg profile and use netch to split traffic
Okay, I was lost after you open the terminal 😂 I'll learn how to do it... Hopefully
copy and paste nothing complicated
@@GIGACHAD-qh1yi Until something breaks and you have 0 idea how to read logs.
Good job 👍🍻
You are pronouncing deluge correctly :)
Be pretty cool to see an application that an monitor all other applications internet connections.
How about for windows 7? Or would I be better off figuring out how to do torrent program on unraid container?
Thank you, Great 👍
Is there an alternative for vpnify as hasn't been updated and is read-only, also what about config for netflx especially since they are asses for sharing to another household etc? thanks wolfy
I'm really sorry this is not so pertaining to the video but, your pacman's output is really cool, how have you achived it?
another vpn videos, the algorithm delivers
What shell are you using for the shaded auto-completion? Looks real nice!
fish
Hi Wolfgang thank you very much for your great content! I have a question which I cannot find any answer to onthe web, would you mind helping me out? I would like to run my VPN home server (pivpn) to connect to my files at home but also mask my traffic from my ISP (nothing illegal just don‘t like my ISP to see all websites and in general being snooped on). Could I run a raspi home VPN and connect it to a remote VPS like Linode? So I can access home and all the outgoing traffic goes through my VPS simultaneously so my ISP can only see the VPS server as my traffic destination? Thank you very much!
Take a look at this ruclips.net/video/b7qr0laM8kA/видео.html
can this be used for legal torrenting without letting my ISP know? I know it says torrenting but need to know if it still works. Thanks
So I seen that the file had a period in the beginning so I thought to delete that and now I get this "yaml: control characters are not allowed" after entering "docker-compose up -d"
Thank you.
Wolfgang !!!! What do I do if I have the Tails 4.13 operating system and I want to have my own VPN to browse TorBrowser anonymously? Thank you!!!
On which system do u setup docker on? the system with wireguard vpn? aka raspberry pi or main daily use machine?
I'd like to know this too, though my guess is it was the daily use machine?
I have a more transparent way of accomplishing this.
We will need two applications for this trick
- 1x pihole
- 1x sniproxy
Step 1: Deploy pihole as documented on their webpage
Step 2: Set pihole as your default DNS server.
Step 3: Install your vpn on a different linux
Step 4: Install sniproxy on that linux and configure it to forward all https and http traffic
Step 5: Add some custom domain overrides in your pihole to point to the ip-address of sniproxy
You can google the domains for a particular service.
If you only have one computer, you can use docker, LXD or systemd-nspawn to make a lot of linux out of one of them.
Yeah, that’s the thing. You’ll need a second computer and it would only work when you’re at home. I’m running arch-delugevpn on my home server but you don’t necessarily need a second computer for it
Any setup would do
Love your videos anyways
What's the best/fastest/stable'est distro/kernel/whatever for making music on linux iyo?
linux-lowlatency or linux-rt
I am torenting linux distros but mostly for building ratio
09:22 Where do i get the open vpn file?
setup a socks proxy and ssh tunnel on cloud VM, use that proxy in any application.
how can we find the Wireguard config file? (it's not in home directory)
Gotta love Linux man. It’s just so much better organized than windows ...
is it safe to use that image as there is no link to source code.
Why run deluge in a container instead of, say, just enabling a proxy in your native torrent client settings?
That way it's all in one kill-switch protected container, so you don't have to worry about proxy suddenly disconnecting and revealing your real IP.
@@WolfgangsChannel hmm, i didn't think of that. In any case, pretty interesting video, I tried looking up something like that years ago and didn't find anything usable. Now my ping in dota can really improve (i've been running systemwide vpn for years taking at least 20 ms hit).
I followed your instruction for Windows but you made your video on November 5th and as of today Docker 2.5.0.1 is available and it seems the WSL2 distro won't get recognized. Any tips? :)
EDIT: I had to use "wsl --set-version Ubuntu-20.04 2" because "wsl --set-default-version 2" didn't work.
Make sure it’s a WSL2 distro. They still have some WSL1 distros in the Microsoft Store
@@WolfgangsChannel nevermind, I had to use "wsl --set-version Ubuntu-20.04 2" because the default one seems to be a different one :)
@@fqtbrqt That's weird, mine was WSL2 out of the box. Gonna put that in the text guide!
Can we have some coverage of DNS service too?
Sup Wolfgang, there might be an even better way of masked VPN-tunnelling - the network-wide solution, where you specify the addresses that would automatically (and seamlessly) go through a vpn that has been pre-configured ON A ROUTER. On mine I have the OpenVpn client that connects to my AWS VPN, and only routes certain sites through. Very helpful if there are any governmental blocks, but can be used otherwise.
Same thing though - you have to know exactly which domains and IPs your applications connect to
@@WolfgangsChannel Not sure if it's a huge problem though, shouldn't be too hard to get a full list of IP addresses of every major service or app like League or Netflix, if you're lucky you may even find updateable github repos with those. Regardless, I'm just throwing a potential video idea at you since you're into networking, privacy and whatnot :)
Does this work with arm64 esp on kuberntes on pi4?
What color scheme did you use in GNOME Terminal?
Nord
You can use network of another container in docker. Proxies in some containers are not working correctly and leak dns requests.
So it'll leak DNS to the proxy that's running on localhost, right? No big deal?
@@WolfgangsChannel I've seen jacket docker leaking queries to my DNS server. It even says that when You select the proxy option. "WARNING: The proxy option potentially leaks requests. Recommendation is to use a VPN. "
@@mihumono Yes, but as I explained, the proxy is set up locally, on your own computer. Which means that even if the docker container is going to leak DNS queries, it's going to leak it to the local computer itself. Plus, the case with the Jacket docker container involves proxy client, not proxy server, so it's apples to oranges.
@@WolfgangsChannel I don't mean using proxy in your browser(as they are probably correctly implemented). I mean if You are connecting to privoxy from another container, some apps (jacket for example) can leak dns queries through your regular network to upstream DNS. Thus Your ISP will be able to see those queries. EDIT: By leak I mean that they aren't sent through privoxy. If they were, there would be no leak.
@@mihumono Ohhh, gotcha. my bad
Why do you need both Docker *and* WSL on Windows? Isn't just the docker enough? Or, alternatively, WSL and Docker inside WSL, but no native Docker for Windows?
On Windows, Docker can use either Hyper-V or WSL2 to run Linux containers. Hyper-V is not available for Windows 10/11 Home users, whereas WSL2 is.
Docker will eventually completely switch from Hyper-V to WSL2 as a base to run Linux containers.
www.docker.com/blog/docker-hearts-wsl-2/
@@WolfgangsChannel, I see, thank you! There's also a long-standing issue between Hyper-V and VMWare, you can't run VMware VMs if Hyper-V is activated on the host.
I'm confused.. is this procedure possible on dynamic ip address..?
Yes
"Deluge" is pronounced phonetically in English as: "Day-Loo'je" ("loo" like "too" & "je" like the vowel sound in "jet" or "bet".
the content is top but your speed is so heavy i have difficulties to hit the break button before you are on the next screen ;-)
Just a quick note if anyone's interested: if localhost:8112/ doesn't resolve, try using edge/internet explorer. For me it failed when using firefox and google chrome.
i live in north africa and a lot of content is restricted or not available i just want to use apps like disney+ have better content on netflix and watch restricted youtube videos... and i don’t care that much about privacy so what’s the best thing i can use my knowledge of this stuff is basically zero i was lost the whole video plus i don’t really have the time to learn this although i would love to (med studies:/) thanks a lot.
or create a TOR gateway. easy. in a container. thn install vpn srv there. there should be vpn client that has application options.
or use something like proxycap(payed) or free alternative that has application control.
A lot of websites and applications don't play nice with Tor. Plus, downloading Linux ISOs through Tor will require a lot of patience
still waiting for a simple android version on this :-( still the best vpn vid on the web
Do you think the WSL install works on Windows AME?
Yep! Here is an unofficial method: pastebin.com/4LTHsQ75
@@WolfgangsChannel Thanks so much; I'll try it out. Love your channel!
@@WolfgangsChannel It looks like the pastebin link is down unfortunately
Pastebin deletes my pastes as soon as I upload them. Here's another link: pastebin.ubuntu.com/p/CgHtngzCbj/
@@WolfgangsChannel Thanks, that link works
Hey man. I got a better and easier way to do this. First you make a local socks server on your vps (Access only limited to local IPs from within the VPS). Then in OpenVPN client config you add this line "pull-filter ignore redirect-gateway" which makes the VPN connection NOT route all of your internet connection (Acting as a LAN connection only). Then on your client you can use the socks proxy with the private IP which you have from the OpenVPN connection (in my case 10.8.0.1) and all your socks proxy data will be routed through the OpenVPN connection which your are connected to. This way you will only route the traffic you need to through the proxy server and it's way easier since you don't have to deal with all the docker stuff. I don't know how you would do this for wireguard tho.
Thanks! This is actually really useful.
@@WolfgangsChannel Hey Wolfgang, do you plan on making a second parter to the video regarding this comment or should I just start trying to figure out on how to do it by myself? :( Thx for these videos either way.
@@FurkanYalcin3 No, I'm content with the solution described in the video.
VPS provider could easily forward the copyright warning to you. It's a false sense of security and layering. Copyright owner will track that torrenting IP belongs to VPS provider, so VPS provider gets the warning, and they will blame you and forward the copyright violation easily to you. When registering a VPS, use fake registration and avoid normal banking method for payment. But that don't solve the problem though, because VPS provider might have a record what IP address is using their service when managing a VPS, and that could be tracked back at you. It's really happened, not just theoritical, it's not easy to escape this.
The only scenario in which a VPS provider will receive a copyright warning in the first place is if the server is located in a certain jurisdiction (e.g. USA, Germany, Austria, and some other countries). Pursuing it across country borders is too much work for copyright companies.
You have to download something *really* illegal in order for the actual authorities to request your data from the VPS provider.
@@WolfgangsChannel Idk about it, but this is real case, the VPS is in South East Asian countries (not US or German) and they received Copyright warning from some US company on behalf of some movie studio, warns about copyright violation, it stated that IP of that VPS is using P2P to share copyrighted material they have, and it's just like other warning template they sent to regular ISP users on US.
I don't think that that's something a regular user should worry about. In your case, a VPN in South East Asia is not obliged to act on that warning at all. So if they take it upon themselves to ban users for downloading copyrighted material, find a better VPS provider.
@@WolfgangsChannel it's more like a soft ban. if it's repeated again, VM/VPS access will be cut. there's another way to make "safe" seedbox, on VPS, install docker and use a specific torrent docker container, and that container specificly designed to always connect to commercial no-log policy VPN like NordVPN / PIA. but it defeats the purpose of not having a commercial VPN in the first place.
0:46 where is the start menù?
Ahh yes, I also torrent to download Linux ISOs but I should always make myself safer while torrenting Linux ISOs today so I can continue to torrent Linux ISOs tomorrow and forevermore.
Would something like this ever leak the real IP address?
Omg!! He's face is really similar to Avicii
Also.... your Dockers won't work with ipv6... thats bad.
Deluge is French, tho.
super
So, crap I have everything entered into the command window using the Ubuntu 20.04 LTS and after that, u say "save" the file and exit... Uhh, how do u save? You don't really explain that... Be honest if I'm just over my head and should quit... I do see the ".docker-compose.yml.swp" file in the config folder so do I just exit the command window
No that doesn't work... when I typed in "vim docker-compose.yml" it asked me to recover the file and I said yes and it just opened me back into the window I closed previously with the commands I had entered in the console. I tried editing the name of the recovery file to end with the .yml extension (I have extensions and hidden files turned on in my OS) and that didn't work either... Should I just stop? I think I'm just kidding myself for thinking I can do this...
Sooo... Get L7 route and IPSec software... that’s pretty easy... it’s builds in to windows...
2:06
I wouldn't recommend using a bloated distro for something like this. Alpine should be enough and it is only around 200MB and runs from RAM. That contrasts quite a lot with Ubuntu's multi GB install.
WSL2 version of Ubuntu is different. It doesn’t include most of the stuff that the desktop Ubuntu does. But as I said, feel free to use any distro you prefer
you obviously are not living in China (you did not state that either). Pretty much nothing works long-term in China. I ran my own VPNs and proxy servers for years. After my 100th server was identified and throttled I just gave up and switched back to a solid (yet paid) VPN solution and saved myself a couple hundred hours of future maintenance. And yes, I tried every obfuscation and encryption and multi-layered VPNs and every other possible stuff I could find info about, both manual methods (open VPN, wireguard, shadowsocks, etc.) and also all kinds of semi-automated solutions (e.g. Streisand) and a combination of those. It does not matter if the server was on linode, digital ocean, aws, google cloud, azure, vultr or whatever else e.g. noname little VPS companies in HK, Japan, US, EU, eventually the server was identified then throttled or blocked.
That sucks :( Sorry to hear that
Why didn't you use vpnify on Linux?
You can use either solution, it's always good to have options
Umm... I commented a short time ago but mysteriously it has disappeared... Well, Things are working out differently for me but this video was made a year ago. wsl 2 installation went differently in PowerShell and I think I might have done something wrong but it looks like Docker might have resolved the issue! I'll post later if I get this working. Thanks!
Someone can give me a opinion about "SurfShark VPN"!? What do you think about it?
how do i get my configuration file
ovpn
Watch the first video
Is there a way to setup multiple http proxy's this way?
You mean a proxy chain?
@@WolfgangsChannel I have 2 vpn's and I want to setup rules with foxyproxy so I can switch between them depending on the site.
So I what I'm asking if I can setup another http proxy for the other vpn so I can add both of them to foxyproxy.
btw Thanks for the quick response really appreciatie it.
@@emilia7259 Yep, that's definitely possible. You can run a github.com/binhex/arch-privoxyvpn container alongside arch-delugevpn (that's bascially the same image but without the torrent client). Just change the Privoxy port in the compose file for the second container (e.g. to 8119)
@@WolfgangsChannel thanks I had tried just copying the deluge container but that didn't work for me.
This also didn't work for me in the beginning but after some troubleshooting I found out that I had the same .ovpn file for both of them so they we're disconnecting each other.
But thanks for the help. And thanks for the usefull content.
Me gustaria que ponga con subtitulo español, porque sus videos son buenos
Maybe ask if someone will write them for him
I just prefer using vmess+websocket+tls instead
Do you have a channel on lbry?
Unfortunately I don’t. I considered using LBRY as a mirror of my RUclips videos, but it turns out they don’t have an option of disabling comments. I don’t have the time to moderate a second channel at the time, so for now just RUclips will have to do.
@@WolfgangsChannel Turns out a lot of content creators don't moderate their lbry channels. It's just nice to watch the videos without all the interruptions and ads of youtube. Thanks!
@@johnyferreira8733 get ublock or RUclips vanced for Android
@Johny Ferreira It definitely is! Still, I wouldn't want my comments to be full of spam bots, porn, abuse and other nasty stuff. And I feel like once LBRY gains popularity, it's going to become a problem. For now, as @Antonio Colombo said, uBlock is the way to go. I certainly don't mind people using ad blockers on my channel.
5:30 WSL1 or WSL2?
WSL2
wireguard a boom 😊
I'd rather torrent Hanna Montana Linux but Ubuntu is fine also.
Sir show us proxy
arent you the same guy who said "why you shouldnt use a vpn"?
Yep, that was me. I also said “use a self hosted VPN instead”
Yet another great tutorial. Maybe someday I'll get to following them and making use of VPN =)
А теперь, когда все поисковые роботы убедились, что это просто обычный комментарий, можно подозрительно начать писать на русском, хотя я просто хочу сказать спасибо за то, что ты порекомендовал цветовую схему Nord. Комментарии читаются сложно, в вс коде слишком много вещей окрашены белым, но в общем и целом схема прекрасна. Спасибо, Вольфганг
Man don't you know?? It's pronounced "deluge" ofc smh my head
How to use VPN in android?
play.google.com/store/apps/details?id=com.wireguard.android&hl=en&gl=US
@@WolfgangsChannel OK thank you.
@@WolfgangsChannel but how to configure it?
When you configure the Wireguard on the server side, there will be a QR code shown at the end. Scan the QR code with your phone.
@@WolfgangsChannel thanks for replying.
These types of videos always make me feel good that I live in an eastern European shithole with lighting fast internet connection and ISP's that don't give a damn about warez.
You know, living la dolce vita. Opening qB, using the search function to find a movie, double-clicking on it and seeing it download with 50 MiB/s. Basically feeling like a king from the height of your 60 m2 commie block flat while reading horror stories on Reddit from Germany where ISP send fines via mail for torrenting.
I know the feeling 😁
Machst du mal ein deutsches Video?
Do you want to make some german video?
Now imagine doing this entire thing just to see cuties on netflix XD
DAY-looj ( "j" like "juice")
It would be awesome to get a discord server for the channel.
Well... Torrent and Proxy... Bye Bye UDP Trackers, Bye Bye DHT.
I expected to hear Russian when the video began playing.