setup-ipsec-vpn/azure/README.md

39 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2022-07-29 06:55:47 +02:00
[English](README.md) | [中文](README-zh.md)
2016-08-11 05:15:11 +02:00
2022-07-29 06:55:47 +02:00
# Deploy to Microsoft Azure
2016-08-11 05:15:11 +02:00
2021-06-05 00:27:21 +02:00
This template will create a fully working VPN server on the Microsoft Azure Cloud ([pricing details](https://azure.microsoft.com/en-us/pricing/details/virtual-machines/)).
2016-08-11 05:15:11 +02:00
Customizable with the following options:
2020-05-04 05:12:17 +02:00
- Username for VPN **and** SSH
- Password for VPN **and** SSH
- IPsec Pre-Shared Key for VPN
2023-05-05 07:15:09 +02:00
- Operating System Image (Ubuntu 22.04 or 20.04)
- Virtual Machine Size (Default: Standard_B1s)
2016-08-11 05:15:11 +02:00
**Note:** DO NOT use these special characters within values: `\ " '`
2016-08-11 05:15:11 +02:00
Press this button to start:
2021-06-05 00:27:21 +02:00
[![Deploy to Azure](../docs/images/azure-deploy-button.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fhwdsl2%2Fsetup-ipsec-vpn%2Fmaster%2Fazure%2Fazuredeploy.json)
2017-06-12 09:29:53 +02:00
When the deployment finishes, Azure displays a notification. Next steps: [Configure VPN Clients](../README.md#next-steps).
2016-08-11 05:15:11 +02:00
2022-04-06 06:06:01 +02:00
**Note:** When connecting to the server using SSH, use the username and password you specified in the deployment template. To add or export IKEv2 clients, run `sudo ikev2.sh`. If somehow you still cannot SSH into the VM after entering the correct login credentials, see [Troubleshoot SSH connections to an Azure Linux VM that fails, errors out, or is refused](https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) and/or [Can't SSH to Azure Linux VM because permissions are too open](https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-ssh-permissions-too-open).
2022-02-27 01:12:47 +01:00
## Authors
2016-08-11 05:15:11 +02:00
2017-06-12 09:29:53 +02:00
Copyright (C) 2016 [Daniel Falkner](https://github.com/derdanu)
2024-02-03 22:31:58 +01:00
Copyright (C) 2017-2024 [Lin Song](https://github.com/hwdsl2)
2016-12-22 17:27:56 +01:00
## Screenshot
<details>
<summary>
Click to see screenshot.
</summary>
2016-12-22 17:27:56 +01:00
![Azure Custom Deployment](custom_deployment_screenshot.png)
</details>