Shadowsocks V2ray TLS
Last updated
Was this helpful?
Last updated
Was this helpful?
Buy a simple server (VPS) for 5 dollars outside Iran.
Buy a cheap domain for 2 dollars.
Create an Arvancloud account. It only needs an email address and a phone number (both Iranian and international phone numbers accepted)
Log in to the Arvancloud account and add your domain.
Then:
Enter your domain name
Select Free plan
Skip DNS Records
Note the nameservers presented on the last step
Go to your domain registrar (the website where you bought your domain, e.g. Godaddy, Namecheap, ...)
Update the nameservers to the one you got in Arvancloud (after adding the domain).
After your domain nameservers changed successfully (depending on the registrar, it can take a few hours, but it's usually quite fast), your domain is now using Arvancloud DNS.
Connect your domain to your server's IP address using A
records. Make sure the Cloud Service
option is enabled for each record.
Go to HTTPS settings
on the navbar, select Issue certificate
. It will take around 30 minutes for the certificate to be ready.
After the certificate is issued, enable the Activate HTTPS
option.
SSH into the server.
Open ports 80 TCP ingress and 443 TCP ingress on your server (security group/firewall)
Clone the below repo and cd
inside the folder.
Edit the .env
file.
Build the docker image and run the containers with below commands:
Since the container is running in detached mode, you need to check the logs to see the config for your VPN server. (Android and iOS urls)
Congratulations! Your server is running now. You can share the URLs with your family, friends and people you trust. You can share this guide for them to start using your VPN server.
Alternatively, you can open a pull request to this file to share your server config on this repository so more people can utilise it.
Install docker and docker-compose. Here's a on how to do it for Ubuntu.