Skip to content

11happy/Guide-to-VPN-at-IITJ-campus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Guide-to-VPN-at-IITJ-campus

This a simple guide for using VPN on campus. Technically making your own VPN access server.

Prerequisites

  1. Github Student Developer Pack https://education.github.com/pack

  2. Azure Account {with student pack you will get free 100$ credits}

Steps

  1. Go to Microsoft Azure and click on create a virtual machine & select azure virtual machine. Screenshot 2023-09-15 170159

  2. Fill in the required details with carefully selecting image,size,region.Here's a sample choice. Screenshot 2023-09-15 170405 Screenshot 2023-09-15 170415

  3. Select SSH public key as authentication method and add inbound port 80 or 443.

Screenshot 2023-09-15 170330 Screenshot 2023-09-15 170343

  1. Click create machine and make sure to download private key.
  2. Now head over to the connect section and ssh into your VM using native ssh.
  3. Skip to Step 8 if you are able to successfully ssh into your VM.
  4. If you encounter problem unprotected private key watch this video : https://www.youtube.com/watch?v=mrUqITjUhL8
  5. After successfully ssh into your VM run this script as root user.
curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh
chmod +x openvpn-install.sh

Then run it:

./openvpn-install.sh
  1. Open VPN setup
1. Ip address : Public Ip of your VM
2. Ipv6: no
3. port: custom (80/443,port which is open for your VM)
4. DNS: Your choice (Google one is good)
5. Now leave rest settings to default & keep pressing enter until script starts.
6. After script is finished create a passwordless client and download its ovpn files.
7. To download  - scp -i <private key destination> <user>@<host>:<destination file>
  1. Now download OPEN VPN client and upload the .ovpn file downloaded in previous step and Boom!.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published