Тёмный

How To Make Your Own VPN - for FREE! | Outline VPN 

Hacking Modern Life
Подписаться 12 тыс.
Просмотров 20 тыс.
50% 1

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

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 128   
@hml
@hml Год назад
To our friends in Iran, Outline VPN has been successfully blocked in Iran by the government. And even though I'm not there, I'll try to gather under this comment different ways to get VPN access in Iran, and go around the government restrictions.
@hml
@hml Год назад
A few people report that changing the port to 443 helps make it work. To do so, while still SSHed into the server, type `nano ~/outline/persisted-state/shadowbox_config.json`, find the name for the key you created and change the port to 443. Press Ctrl-X to save. Type `docker restart shadowbox`. Enable HTTPS in the GCP firewall settings. Thanks to u/4DXP on Reddit for the tip.
@hml
@hml Год назад
Another tool that could help is beepassvpn.com/en/, which is a fork of Outline VPN, which goes around the Iran censorship as well, and might work.
@hml
@hml Год назад
If you're on Windows/Android, nthLink has a network of servers and can be setup from here: www.nthlink.com/
@tobe3940
@tobe3940 Год назад
Thank you so much for having us on your mind as well. At this point I think the more than 80 million Iranians are the biggest group and in the most dire need of access to the internet and so far no one has helped despite Musk's claims and still people are heavily robbed of internet connections and everyone is still looking for any working and safe options possible as this fascist dictator islamic bloodthirsty regime is shutting anything online down and blocking any protocols and gateways at the same insane rate it is mass arresting, mass torturing and mass murdering the people trapped under it with no voices and no real ways to defend themselves. I'm sure anything you'd publish will be seen by many Iranians and all of us will be thankful to you but many here either do not have Gmails to leave their likes and comments to express their gratitude or they might not be able to log into their accounts with the disasterously slow and blocked internet and the constant necessity to change VPNs from different countries. 🙏🙏🙏 Hopefully we will be free soon of this vile regime and its crimes against humanity against us and then my people will for sure remember who helped them, who remembered us and out plight and request for help and who didn't and will go far and wide to send you their messages of appreciation. ✌ Much blessings to you!
@80maryammo
@80maryammo Год назад
I wish I read this comment first, I followed the tutorial step by step but then I read the first comments, so try to make it works with no coding information at all, thanks for your time tho.
@victorfeng9563
@victorfeng9563 2 года назад
Honestly, such an underrated tutorial and great explanation!
@hml
@hml 2 года назад
Much appreciated! I'm glad you enjoyed it. I'm here for any questions.
@Lyco._
@Lyco._ Год назад
You say for free but google cloud costs money 😂 Shame on you
@hml
@hml Год назад
Google Cloud has a free tier, check it out here: cloud.google.com/free, and the micro instance (the one I'm using in this tutorial), falls under the free tier.
@seyeeet8063
@seyeeet8063 2 года назад
not useful, you dont even talk about the important stuff like how to deal with firewall, or what to set for priority. I get this error Unable to connect to your Outline Server Your Outline Server was installed correctly, but we are not able to connect to it. Most likely this is because your server's firewall rules are blocking incoming connections. Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535.
@hml
@hml 2 года назад
Did you follow the instructions at 7:23, that specifically deal with the GCP Firewall Rules?
@hamtasedghani8650
@hamtasedghani8650 2 года назад
@@hml Thanks for great tutorial but I got the same error! I did exactly the same setting for firewall that you mentioned in the video and I encounter this error: Your Outline server was installed correctly, but we are not able to connect to it. Most likely this is because your server's firewall rules are blocking incoming connections. Please review them and make sure that you allow incoming TCP connections on ports ranging from 1024 to 65535.
@hamtasedghani8650
@hamtasedghani8650 Год назад
@@journeyingwithchrist22 For sure I didn't copy his TCP and UDP ports!! I copied the generated ports in my console.
@edwardabgarian6431
@edwardabgarian6431 Месяц назад
I am so thankful for all of your help. You are literally a godsend, brother.
@esentischev
@esentischev Год назад
Thanks for the tutorial. Just have finished setting it up. Works pretty well in China.
@alexjalaeian845
@alexjalaeian845 Год назад
Amazing tutorial! Thanks so much. You mentioned just creating one instance is free. What did you mean with that? Does it mean just creating one key is free? Also for how long? Thanks so much
@hml
@hml Год назад
One small instance on Google Cloud (f1-micro)/month is included in the Google Cloud "free tier", so if you run only 1 server on Google Cloud, on the smallest instance (which is enough for Outline), with regular (not premium) networking, and up to 1gb of transfer/month - it's fully free! If you go beyond that, you'll pay for whatever is over that. Above 1gb/month, it's $0.085, so for 10gb of data transfer you'll pay $0.85. You can do as many keys as you need.
@Ivan-A747A
@Ivan-A747A 2 месяца назад
@Hacking Modern Life Hey David, could you suggest me an option please. Im trying to work overseas and would like to connect my PC from Europe to PC in US. That way my ip will show that im at home in US. What will be your suggestion. Thanks in advance.
@hml
@hml 2 месяца назад
If you just want to connect the two PCs, and pretend to work from the PC in the US, the easiest way would be remote desktop - something like TeamViewer (www.teamviewer.com/) would be much easier than setting up a VPN. Otherwise, Outline VPN could be an option, depending on what OS you have in the US, but you could just get a Raspberry Pi or some other small computer, and put Outline VPN on it, and keep it in the US. If those options don't work for you, let me know, I might have a few other suggestions.
@Ivan-A747A
@Ivan-A747A 2 месяца назад
Thank you!
@hiddenhalf
@hiddenhalf 2 года назад
Thank you but I followed the instruction and at last it says: Your Outline Server was installed correctly, but we are not able to connect to it. Most likely this is because your server's firewall rules are blocking incoming connections. Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535. I added the Firewall rule exactly as you suggested and I see 4 other rules as VPC firewall rules there by default. Two ingress and 2 Engress. I changed my Firewall network Policy priority to 0 still not working. This is my rule: Priority 0 Parent policy outline-vpn Logs Off Direction Ingress Action Allow Targets Apply to all Source IPv4 ranges Protocols and ports tcp:97**, 14*** udp:14***
@hiddenhalf
@hiddenhalf 2 года назад
I tried allowing all ports, and it didn't work either. Wonder what the issue is.
@hiddenhalf
@hiddenhalf 2 года назад
I checked other sources and I see they are talking about tagging the VM, Network and Rules in GCP to work. When I try, it says your account is not associated with any organization. Confused.
@hml
@hml Год назад
Did you ever figure out what VPN does work properly? I'd love to make a follow up video to that one.
@mohammadkhezri5708
@mohammadkhezri5708 2 года назад
I don't see that small computer icon to connect to the device!! I copied those numbers to the firewall correctly and copy/paste the code to the manager, it's done but there's no small computer icon. I only see "Key 0" ../none share icon and menu -
@MrEasyFlying
@MrEasyFlying Год назад
I think that's OK.
@hml
@hml Год назад
That's OK, the "None" just means there was no usage lately of that key (of course no usage, you didn't use it yet). Once you'll use that key in a client, it'll change from "none" to the last usage date.
@samanehbayat
@samanehbayat Год назад
@@hml I have same problem. The questions is not about the usage, I don't see the computer icon. It is just a share button. So, I can't get to the "copy your access code" section.
@neatfastro
@neatfastro 2 года назад
I have been using outline vpn for months now but whenever I suspend my compute engine (vm) and then resume it then the vpn does not work (can't connect) any idea how to solve this issue?
@neatfastro
@neatfastro 2 года назад
I have now setup using the gcp setup option in the outline manger, which did all the work (creating project, vm, firewalls etc) for me and now I can safely stop and start/resume the vm without worrying if the the vpn will work or not after the restart
@hml
@hml 2 года назад
With the setup I show here, on GCP I had no issues starting and stopping it. I didn't try to do it on AWS...
@hml
@hml 2 года назад
Yeah, the new "experimental" setup process looks great in theory, but it just doesn't work for me. Also - pay extra attention to create the free tier instance!
@michaelsu4253
@michaelsu4253 4 месяца назад
Hey there, thank you very much for the tutorial. I was just wondering what should I upgrade if I want to build a faster and more stable VPN? Which part of the google vm should be upgraded? Thanks.
@michaelsu4253
@michaelsu4253 4 месяца назад
Meanwhile, I am also curious how can I systematically learn these stuffs. How can I determine whether the server (or vm) is private. I appreciate any advice you may have : ).
@AmirbahadorZandi
@AmirbahadorZandi 2 года назад
Hi dear Thank you so much and very appericate i'll share it with other friends for use it.
@optimus6858
@optimus6858 2 года назад
When u click enable API it will ask for a billing account !
@hml
@hml 2 года назад
But it won't actually charge you, unless you enable premium networking.
@optimus6858
@optimus6858 2 года назад
@@hml thats the thing , due to same reason im trying to use outline my credit card is not accepted ! xD is it safe to use others ss key ? can they spy on me ?
@optimus6858
@optimus6858 2 года назад
@@hml actually when i try other's key my antivirus (avast) prompts with infected with IDP.Generic, blocked
@hml
@hml 2 года назад
No, they cannot. At least by default, Outline doesn't store logs on the server, and it doesn't create a virtual network, so they won't be able to connect to your computer if you use their key.
@hml
@hml 2 года назад
I personally do not use Avast, but it seems that IDP.Generic is usually a false-positive (meaning it's not actually a virus, but the antivirus gets confused). Check out this thread here: www.reddit.com/r/outlinevpn/comments/igzovh/while_connecting_to_outlinevpn_my_antivirus/
@ziphomatsoso7185
@ziphomatsoso7185 Год назад
Thank you very very much for the video🙏🙏🙏. Just 2 questions. The created VM was 1GB - what happens if I exceed this usage (say I get to 1.2GB)? Secondly, can I connect multiple PCs (Say 3 PCs) to the VPN server and still be on the free tier?
@hml
@hml Год назад
It should be fine, just make sure you don't use the premium networking. Also, the 1gb limit is for egress - meaning, outgoing traffic, not incoming.
@shastrybhargav
@shastrybhargav 5 месяцев назад
Instead of having server on cloud Can we have the vpn server on the same machine where we installed outline manager?
@hml
@hml 5 месяцев назад
Sure, but what would be the benefit of that? You would get the same IP and same access as the machine that the server runs on, so the result would be the same as not running a VPN
@daviKoSanchez8573
@daviKoSanchez8573 Год назад
Hello friend, I liked your video, thank you for your video full of information. I had a question, in the description of the video you comment "without sacrificing data", this is true, I can create a VPN with OUTLINE and connect with my cell phone without consuming my data plan. Could you clarify, maybe I misunderstood what you meant.
@hml
@hml Год назад
Hi friend! Unfortunately, no, your data plan will be counted in any case that data is being sent. What it means, is that your actual data (the information you sent), won't be seen by the networks you using (the WiFI network in the airport, cafe, or your cellular ISP, and so on). Basically it adds privacy and can help you appear to come from another country, but it will still be counted towards your data plan.
@daviKoSanchez8573
@daviKoSanchez8573 Год назад
@@hml thanks my friend.
@MiniKodjo
@MiniKodjo Год назад
Does outline client directly connect to the server? Is it possible to proxy through CDN?
@hml
@hml Год назад
In order for a VPN to work, the connection has to be direct to the VPN. Unfortunately it's impossible to send it through a CDN. What exactly are you trying to achieve?
@threetoedsloth6205
@threetoedsloth6205 6 месяцев назад
still asking for payment info?
@hml
@hml 6 месяцев назад
It asks for card details in case you go above the free tier, but if you check out the Google Cloud pricing page, you'll see that the free tier is very generous.
@10pwu27
@10pwu27 2 года назад
Great Video, I had my Outline Server Blocked in China two days ago after it was running for 1 year and 8 months with no issues. I build a new server, thats up and running.. Is it possible, and faster to change the external ip address on the google cloud platform ?
@hml
@hml 2 года назад
Changing the external IP in GCP is very easy and takes a few clicks. I do think that Outline stores the IP somewhere, so changing that is a bit more complicated. But GCP doesn't have a location in China, so if you need an exit point there, GCP is not an option.
@just.bondarenko
@just.bondarenko 2 года назад
Thank you for the video. Used this one to make VPN for family
@hml
@hml 2 года назад
Glad it helped! Did you configure it on their router, or individually?
@just.bondarenko
@just.bondarenko 2 года назад
@@hml Individually. Their ASUS router with ASUS-WRT does not support Outline VPN.
@hml
@hml 2 года назад
Actually, Outline is not really a VPN, but a Shadowsocks proxy, and Shadowsocks are supported by OpenWRT, which AsusWRT is based on. Check this out: openwrt.org/docs/guide-user/services/proxy/shadowsocks, github.com/Acris/shadowsocks-asuswrt-merlin, maybe it will help.
@GeorgeLathem
@GeorgeLathem Год назад
i accidentally closed my terminal before i could get the apiurl. is there a way to find what it was?
@hml
@hml Год назад
Did you ever figure it out?
@AliSehat
@AliSehat 2 года назад
The problem is the client cannot access the app store to download the outline application. The app store is already filtered by the government . Is there any way around that issue?
@hml
@hml 2 года назад
Yeah, you can download connect the iPhone IPA file directly from github.com/Jigsaw-Code/outline-client/releases/tag/daily-2021-07-05 for example, and install it via sideloadly.io/, without going through the App Store. Let me know if you'd like me to make a video showing this process.
@salsabeeltantoush3705
@salsabeeltantoush3705 2 года назад
Such a cool tool! Thanks for the tutorial 😀 Can I send an access key to someone who is in a different country to connect their device to my server? What I want to acheive is for me and the other person to "look" like we are connected to the same WiFi network
@hml
@hml 2 года назад
Glad you enjoyed the tutorial! You can definitely send the key to somebody from another country, but Outline is a proxy and not a true VPN, so I am not sure if you would see each other "as if connected to the same wifi". It's worth a try, but you might need an actual virtual network for this to work.
@VWTesla
@VWTesla 2 года назад
This looks super easy. I've used OpenVPN but the servers keep changing. I love the idea of having my own connection though. I suspect it's possible to make this work for a whole home VPN as well (i.e. for the router in the house to protect the entire household from snooping?)
@hml
@hml 2 года назад
Sure, you can configure it from a router and then have all the traffic of the home go through a VPN server. I would suggest going with the premium networking then, not the standard one - to keep it fast for the whole house. Might cost a bit extra, but worth it.
@Clesco711
@Clesco711 9 месяцев назад
Does the shadowsocks protocol also work for Russia?
@hml
@hml 9 месяцев назад
Yeah, absolutely. Do you want to pretend to be in Russia, or you just want to hide your activity? Regardless, you just need a server that's outside of Russian and accessible in Russia, and it should work. If it works for Iran/China, no reason why it won't work for Russia.
@izleyenbilir
@izleyenbilir Месяц назад
@@hml Yesterday was working, today already not. 05/08/24
@hml
@hml Месяц назад
Doesn't work in Russia? Did anything change?
@mickeyhaslavsky340
@mickeyhaslavsky340 2 года назад
Cool! Does that mean I can build a VPN and monetize it on GCP as well?
@hml
@hml 2 года назад
Technically, you could - but of course 1 micro instance won't be enough for more than 1-2 people to use, so it won't be free anymore. But in theory, you could definitely try to monetize it, but at scale I think it's cheaper to just rent small servers in a bunch of data centers.
@mostafashahi3333
@mostafashahi3333 Год назад
how can i use my own domain Instead ip address?
@hml
@hml Год назад
You can add an A record with the IP, and then just connect to that domain. If you need any further help, jump over to our discord, and I'll help you there.
@abdessamadoubaqass190
@abdessamadoubaqass190 10 месяцев назад
Does this work in china ?
@hml
@hml 10 месяцев назад
Setting up Outline itself will definitely work in China, but probably not on GCP. Do you want to setup a VPN from outside China to inside, or the opposite - break free from the China's Great Firewall?
@abdessamadoubaqass190
@abdessamadoubaqass190 10 месяцев назад
Yeah basically break free from greatwall china
@AliA-we2uu
@AliA-we2uu 2 года назад
Thanks a lot for the great step by step tutorial 🌹🙏🙏🙏
@hml
@hml 2 года назад
My pleasure 😊
@UNITED_STATES_OF_AMERICA
@UNITED_STATES_OF_AMERICA 2 года назад
Thanks for sharing the video, Should I go with DigitalOcean or Google Cloud Engine? which is better?
@hml
@hml 2 года назад
The big benefit with the Google Cloud, is that if you're fine with a US IP, you can use the free tier, and run your VPN non-stop for free. The benefit of Digital Ocean, though - is that you have a fixed price for any location. So for $6 you can get a VPN anywhere Digital Ocean has a location. Or for $0 you can get a Google Cloud VPN in the US. Both with 1GB of bandwidth, and you'll pay extra for going over that.
@UNITED_STATES_OF_AMERICA
@UNITED_STATES_OF_AMERICA 2 года назад
@@hml Thanks for your time and attention to this matter👍
@hml
@hml 2 года назад
Sure, it's my pleasure!
@greatwolf.
@greatwolf. 8 месяцев назад
@@hml 1gb bandwidth? that seems kind of useless doesn't it? that amounts to ~33megabytes per day on average. You can't really do anything with that.
@hml
@hml 8 месяцев назад
Well, first 200gb are free now, and after that traffic is very cheap. Also, it counts only egress, so only outgoing traffic.
@ronniemethod1242
@ronniemethod1242 Год назад
спасибо большое ! все сделал по инструкции но забыл скопировать строку из SSH которая вышла после установки( потом просто открыл обратно этот сервер и заново установил , я так понимаю поверх первой установки 2 установилась ? или она удаляет сначала 1 установку и потом ставит вторую ? потом пошел удалил старый фаерволл и настроил по новому . сейчас все работает . По моему вопросу ответишь пожалуйста )
@hml
@hml Год назад
Не, оно устанавливает только один раз, но вторая установка генерит новые ключи, так что первая установка перезаписана.
@ronniemethod1242
@ronniemethod1242 Год назад
@@hml спасибо 👌
@crazyvlogz3517
@crazyvlogz3517 7 месяцев назад
@@hmlзначит что для каждого пользователя надо сделать одну новую установку?
@KooshaZare
@KooshaZare 2 года назад
Thank you, this was helpful. I set up the VPN but the client cannot connect on mobile or any other devices. I can only connect on windows and when another VPN is connected but then no internet. Is it possible that all outline IPs can be blocked by a government?
@hml
@hml 2 года назад
Where did you setup the server? The government cannot block any hosting you setup, and Outline is designed to go around blocks. Your ISP/government don't even know it's Outline.
@KooshaZare
@KooshaZare 2 года назад
@@hml Thanks for replying back. I did set it up on US-east1-b zone. Also, is it ok instead of selecting TCP and UDP protocol ports, select All for protocol/port for firewall rules?
@KooshaZare
@KooshaZare 2 года назад
@@hml I set up another one on europe-west2, and the same issue, cannot connect to VPN. It could be that google cloud server preventing the connection coming from Iran.
@hml
@hml 2 года назад
What error message do you get? Did you setup the firewall rules in GCP? I wouldn't "Select all" in the Firewall, but rather the specific ports that are being asked.
@hml
@hml Год назад
I left a few tips on the pinned comment on this video if Outline VPN is blocked by the government, so try it out.
@mahdinaseri2017
@mahdinaseri2017 Год назад
Thanks!
@mohammadderakhshan2804
@mohammadderakhshan2804 2 года назад
Wonderful tutorial, I tested but worked only on my device and didn't work from outside. any Idea?
@hml
@hml 2 года назад
Great that you enjoyed the tutorial! What do you mean "didn't work from outside"? Outside of your wifi? Or you mean didn't work outside of your mobile? Did you install the Outline client on your computer?
@mohammadderakhshan2804
@mohammadderakhshan2804 2 года назад
​@@hml I created VM same as tutorial but premium version and abled to connect but I need user connected outside my current location( other country) and they couldn't connect.
@hml
@hml 2 года назад
What county is the other user from? If it's one of those: support.google.com/a/answer/2891389 then Google Cloud is not an option, but you can definitely use Digital Ocean instead.
@mohammadderakhshan2804
@mohammadderakhshan2804 2 года назад
@@hml IRAN, Thanks for that, Unfortunately IRAN in the list, Digital Ocean is too slow, Do you know any other option?
@tobe3940
@tobe3940 Год назад
@@hml I think he meant the VPN works when the internet is not localized in Iran meaning a simple one route VPN connection. With how the fascist regime of Iran cuts off the internet and makes it "localized" the path from the local internet is cut off from the free international one, making it impossible for almost all sites to open or load. So people in Iran need a VPN system that first connects them to an IP in Iran that does have connection to the international internet and THEN the first fake Iranian IP changed into one from a free country to access the internet normally. I'm sorry that our situation is so messed up and complicated, us Iranians also had no clue what that was until some of us who are experts in these stuff explained it to us and to what we need. The hellish time we were born into here ... -_-
@0xIslamTaha
@0xIslamTaha 10 месяцев назад
Thanks for sharing it
@hml
@hml 10 месяцев назад
It's absolutely my pleasure!
@AlexeyBoyakov
@AlexeyBoyakov Год назад
Thank you for you guide, it was very helpful! Unfortunately, the Outline client stopped connecting to the server with an error: Произошла непредвиденная ошибка. Попробуйте перезапустить процесс. Если эта ошибка возникнет снова, отправьте отзыв. Iphone is still working through it with no problem. What can it be?
@hml
@hml Год назад
Sorry for the late reply, I somehow missed your comment (RU-vid's notification system is horrible). If you still have the issue, I could try to help you on my Discord server (discord.gg/xTRDKJZPNt).
@AlexeyBoyakov
@AlexeyBoyakov Год назад
@@hml the problem disappeared after rebooting macbook. Thank you for help anyway! And again, thank you for your guide. I hope the Google Cloud will still be available after the trial period ends.
@hml
@hml Год назад
I'm glad to hear this! 1 micro instance/month is always free, however you will pay for traffic after 1gb, but it's still way cheaper than a 3rd party VPN.
@AlexeyBoyakov
@AlexeyBoyakov Год назад
@@hml i've just opened Outline Manager to check how much traffic I consumed for the period, and it reset to the clean app condition. No more keys and information about my server. Strange behavior. I'm not even sure I can find those keys anymore :/
@hml
@hml Год назад
@@AlexeyBoyakov That's really weird - you sure you didn't reinstall the server, or installed it twice?
@CyrusVatankhah
@CyrusVatankhah 2 года назад
Thanks a lot!
@hml
@hml 2 года назад
You're welcome!
@Namen3
@Namen3 Год назад
It's not free
@hml
@hml Год назад
Why it's not free? One micro GCP server is free, non-premium traffic is free, the VPN is free and open source.
@BOSS_1417
@BOSS_1417 10 месяцев назад
@@hml Is there anyway to do it withoud card information as GCP needs card informtion even for free tier
@greatwolf.
@greatwolf. 8 месяцев назад
@@hml You said it in the other comment, GCP only offers 1gb of bandwidth per month. That's basically useless -- watching a youtube video will be enough to go over it and then you'll get charged for overusing bandwidth. That's how they get you.
@giorgicharashvili7674
@giorgicharashvili7674 Год назад
Don't working for me .
@hml
@hml Год назад
What seems to be the problem?
@giorgicharashvili7674
@giorgicharashvili7674 Год назад
​@@hml There is no connection between server and to the my laptop.
@hml
@hml Год назад
@@giorgicharashvili7674 What country/ISP are you trying to connect from? DId you setup the Firewall settings?
@giorgicharashvili7674
@giorgicharashvili7674 Год назад
@@hml I'm from Georgia, yes i did setup of firewall very well.
@hml
@hml Год назад
@@giorgicharashvili7674 ok, if you try to connect directly to the port, does it work? is the port open? do you know how to check?
Далее
How to Make Your Own VPN (And Why You Would Want to)
25:54
Шоколадная девочка
00:23
Просмотров 821 тыс.
Как снимали мой клип POLI - Котик
00:37
I Made My Own Free VPN... But Better!
26:04
Просмотров 315 тыс.
Flipper Zero: Truth or Hype?
12:14
Просмотров 156 тыс.
EASY Remote Access: How to setup CloudFlare Tunnels
14:55
Build Your Own VPN | Free VPN
22:19
Просмотров 41 тыс.
Build your OWN WireGuard VPN! Here's how
12:21
Просмотров 353 тыс.