getting virtual machines is good as you'll only have to pay for when you use them. google cloud is also a good cloud service to use. Basically you need a VM or a Cloud Compute to get yourself a VPN. You can also choose a VPS. Operating system should be Linux. Used Ubuntu 20.04 here.
Note- using OpenVPN so you'll have to download OpenVPN Client for your device
Step 1- Get yourself a Speedy Cheap (depends) VPN server with the location you want, at least 512GB Ram and 1CPU.
Step 2 - Set it up.https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04
Step 3- Open Shell and then Update and upgrade everything.
step 4- after updating, you can refer to this website.https://www.cyberciti.biz/faq/ubuntu-18-04-lts-set-up-openvpn-server-in-5-minutes/
Step 5- After making a VPN profile now you need to get it on your device or mobile. login as root user into ssh and use this sudo find / -iname "*.ovpn"
to find the directory where your profile is saved. Note that address.
Step 6 - open a directory or folder you want to get the file on. Open a terminal there.
Use sftp to fetch your VPN profile. it usually has .ovpn extension.
get another console then sftp linux_username@Ip address.
to login and proceed.
now get the file from get /location/profile_name.ovpn
then it should be downloaded on the folder.
Step 7- To connect get yourself a client. Open the profile from your client and boom.
Note that, you need to exit all ssh connection and restart your Linux VM.
Note that, you need to exit all ssh connections (code exit
) and restart your Linux VM (code sudo reboot
)
how to start the VPN is given in the link mentioned in step 4. hope it helps.
Next thing to note - next time you start the service, login to ssh using root user and you won't have trouble starting the service. and be sure to check the status of the VPN.
Comments
Post a Comment