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.
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.
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!
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.
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.
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 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.
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
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.
@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.
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.
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***
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.
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 -
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.
@@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.
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?
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
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!
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.
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 : ).
@@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 ?
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.
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/
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?
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
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.
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.
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?
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.
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 ?
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.
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.
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?
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.
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
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.
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?)
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.
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.
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.
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.
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?
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.
спасибо большое ! все сделал по инструкции но забыл скопировать строку из SSH которая вышла после установки( потом просто открыл обратно этот сервер и заново установил , я так понимаю поверх первой установки 2 установилась ? или она удаляет сначала 1 установку и потом ставит вторую ? потом пошел удалил старый фаерволл и настроил по новому . сейчас все работает . По моему вопросу ответишь пожалуйста )
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?
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.
@@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?
@@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.
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.
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?
@@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.
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.
@@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 ... -_-
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?
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).
@@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.
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.
@@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 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.