{"id":28278018,"url":"https://github.com/deviant101/point-to-site-vpn","last_synced_at":"2026-03-01T14:33:06.635Z","repository":{"id":276375043,"uuid":"824096266","full_name":"deviant101/Point-to-Site-VPN","owner":"deviant101","description":"Configuring Point to Site VPN in Azure using Terraform (IaC)","archived":false,"fork":false,"pushed_at":"2025-02-07T20:32:58.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T16:45:37.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deviant101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-04T11:00:12.000Z","updated_at":"2025-02-07T20:33:02.000Z","dependencies_parsed_at":"2025-02-14T04:45:18.671Z","dependency_job_id":null,"html_url":"https://github.com/deviant101/Point-to-Site-VPN","commit_stats":null,"previous_names":["deviant101/point-to-site-vpn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deviant101/Point-to-Site-VPN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviant101%2FPoint-to-Site-VPN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviant101%2FPoint-to-Site-VPN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviant101%2FPoint-to-Site-VPN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviant101%2FPoint-to-Site-VPN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deviant101","download_url":"https://codeload.github.com/deviant101/Point-to-Site-VPN/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviant101%2FPoint-to-Site-VPN/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:11:48.712Z","status":"ssl_error","status_checked_at":"2026-03-01T14:11:48.352Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-21T07:14:17.747Z","updated_at":"2026-03-01T14:33:06.611Z","avatar_url":"https://github.com/deviant101.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Point-to-Site VPN Deployment on Azure using Terraform\n\nThis project provides Terraform configurations to deploy a Point-to-Site VPN on Azure. The deployment includes creating a resource group, virtual network, VPN gateway, and VPN connection.\n\n## Prerequisites\n\n- [Terraform](https://www.terraform.io/downloads.html) installed on your machine.\n- An Azure account with the necessary permissions to create resources.\n- A root certificate file (`rootCA.crt`) for the VPN client configuration.\n\n## Project Structure\n\n- `main.tf`: Contains the main Terraform configuration for the resources.\n- `variables.tf`: Defines the variables used in the Terraform configuration.\n- `provider.tf`: Specifies the required provider and its version.\n- `outputs.tf`: Defines the outputs of the Terraform configuration.\n- `.gitignore`: Specifies files and directories to be ignored by Git.\n- `generate-certificates.sh`: Script to generate self-signed certificates.\n\n## Steps to Deploy\n\n1. **Clone the Repository**\n\n   ```sh\n   git clone https://github.com/deviant101/Point-to-Site-VPN.git\n   cd Point-to-Site-VPN\n   ```\n\n2. **Generate Self-Signed Certificates**\n\n   Run the script to generate self-signed certificates:\n\n   ```sh\n   ./generate-certificates.sh\n   ```\n\n   This will create the `rootCA.crt` file required for the VPN client configuration.\n\n3. **Initialize Terraform**\n\n   Initialize the Terraform configuration:\n\n   ```sh\n   terraform init\n   ```\n\n4. **Review the Execution Plan**\n\n   Review the execution plan to ensure everything is set up correctly:\n\n   ```sh\n   terraform plan\n   ```\n\n5. **Apply the Configuration**\n\n   Apply the Terraform configuration to create the resources:\n\n   ```sh\n   terraform apply\n   ```\n\n6. **Verify the Deployment**\n\n   After the deployment is complete, you can verify the resources in the Azure portal.\n\n## Using the VPN\n\n1. **Download the VPN Client Configuration**\n\n   After the deployment, download the VPN client configuration from the Azure portal.\n\n2. **Install the VPN Client**\n\n   Install the VPN client on your local machine using the downloaded configuration.\n\n3. **Connect to the VPN**\n\n   Use the installed VPN client to connect to the VPN. You should now have access to the resources in the virtual network.\n\n## Variables\n\nThe following variables are defined in `variables.tf`:\n\n- `location`: The location of the resources (default: `eastus`).\n- `resource_group_name`: The name of the resource group (default: `VPN-rg`).\n- `vnet_name`: The name of the virtual network (default: `MyVNet`).\n- `vnet_address_space`: The address space of the virtual network (default: `[\"10.0.0.0/16\"]`).\n- `gateway_subnet_name`: The name of the gateway subnet (default: `GatewaySubnet`).\n- `gateway_subnet_prefix`: The address prefix for the gateway subnet (default: `[\"10.0.0.0/24\"]`).\n- `gateway_ip_name`: The name of the public IP for the gateway (default: `MyGatewayIP`).\n- `vpn_gateway_name`: The name of the VPN gateway (default: `MyVpnGateway`).\n- `vpn_gateway_sku`: The SKU of the VPN gateway (default: `VpnGw1`).\n- `vpn_client_address_space`: The address space for the VPN client (default: `[\"172.16.0.0/24\"]`).\n- `vpn_connection_name`: The name of the VPN connection (default: `MyVpnConnection`).\n- `shared_key`: The shared key for the VPN connection (default: `YourSharedKey`).\n\n## Outputs\n\nThe following outputs are defined in `outputs.tf`:\n\n- `resource_group_name`: The name of the resource group.\n- `vnet_name`: The name of the virtual network.\n- `vpn_gateway_public_ip`: The public IP address of the VPN gateway.\n- `vpn_gateway_name`: The name of the VPN gateway.\n- `vpn_connection_name`: The name of the VPN connection.\n\n## Cleanup\n\nTo remove the resources created by this Terraform configuration, run:\n\n```sh\nterraform destroy\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeviant101%2Fpoint-to-site-vpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeviant101%2Fpoint-to-site-vpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeviant101%2Fpoint-to-site-vpn/lists"}