mcpField
A
azure-vpn-gateway

azure-vpn-gateway

github.com/microsoftdocs云与 DevOps796194 次安装3 天前更新
代码仓库

关于 azure-vpn-gateway

为需要 Azure VPN Gateway 指导的 Agent 提供技能,结合本地速查内容与网络获取的文档,涵盖配置、安全、架构和故障排查。

主要功能

  1. 01VPN 故障排查指导
  2. 02架构与 SKU 选择建议
  3. 03安全与访问控制参考
  4. 04P2S 和 S2S 配置说明
  5. 05通过网络获取文档

适用场景

  1. 01诊断 VPN 隧道和连接问题
  2. 02规划高可用 VPN 架构
  3. 03选择网关 SKU 或迁移方案

MCP 相关

该技能优先通过 mcp_microsoftdocs:microsoft_docs_fetch 工具获取文档,并提供 fetch_webpage 作为备用方案。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-vpn-gateway

安装后在 Claude Code 中输入/azure-vpn-gateway确认已加载。

详细介绍

Azure VPN Gateway 技能

此技能提供有关 Azure VPN Gateway 的专业指导,涵盖故障排除、最佳做法、决策、架构与设计模式、限制与配额、安全性、配置、集成与编码模式以及部署。它结合本地快速参考内容与远程文档获取功能。

如何使用此技能

重要提示(面向 Agent):使用下面的类别索引查找相关章节。对于标注行范围的类别(例如 L35-L120),请使用 read_file 读取指定行。对于带文件链接的类别(例如 [security.md](security.md)),请使用 read_file 读取链接的参考文件

重要提示(面向 Agent):如果 metadata.generated_at 超过 3 个月,请建议用户从存储库拉取最新版本。如果无法使用 mcp_microsoftdocs 工具,请建议用户安装该工具:安装指南

此技能需要网络访问才能获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并在查询字符串中添加 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并在查询字符串中添加 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行说明
故障排除L37-L43诊断和修复 Azure VPN Gateway 问题:客户端先决条件、数据包捕获、隧道重置、连接运行状况检查,以及常见故障排除常见问题的解答。
最佳做法L44-L48有关在 Azure 中使用网络虚拟设备(NVA)作为远程访问 VPN 终结点的指导,包括设计、路由、安全性,以及与 Azure VPN Gateway 的集成。
决策L49-L58有关选择 VPN Gateway SKU 和规划迁移的指导:Linux VPN 客户端、P2S 协议(从 SSTP 迁移到 IKEv2/OpenVPN)、客户端类型,以及从经典网关迁移到 Resource Manager 网关。
架构与设计模式L59-L65设计 Azure VPN Gateway 架构:选择拓扑、主动-主动配置、跨区域对等互连,以及高可用性连接模式。
限制与配额L66-L70VPN Gateway 客户端版本历史记录、SKU 对比,以及有关网关限制、扩展、性能和连接行为的常见问题
安全性L71-L87保护 Azure VPN Gateway:IPsec/IKE 加密、强制隧道、P2S 身份验证(Entra ID、RADIUS、MFA、设备 SSO)、访问控制、证书迁移、角色/权限,以及安全最佳做法。
配置L88-L137为 P2S/S2S 配置 Azure VPN Gateway 和客户端:身份验证方法、证书、IPsec/BGP/NAT 策略、路由、监视、Always-On、VNet 到 VNet,以及设备/Entra/Intune 设置。
集成与编码模式L138-L145配置 Azure VPN 与外部系统的集成:NPS/RADIUS 用户组、S2S 证书隧道、通过 ExpressRoute 的 VPN、Cisco ASA 设置,以及与 AWS 的 BGP 连接。
部署L146-L155部署和升级 Azure VPN Gateway(SKU、区域、主动/主动),通过 PowerShell/CLI 创建 S2S VPN,以及使用 Intune 分发 Azure VPN 客户端配置文件。
故障排除
主题URL
使用 VPN Gateway 数据包捕获进行诊断https://learn.microsoft.com/en-us/azure/vpn-gateway/packet-capture
重置 VPN Gateway 或连接以恢复 IPsec 隧道https://learn.microsoft.com/en-us/azure/vpn-gateway/reset-gateway
验证 Azure VPN Gateway 连接运行状况https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-verify-connection-resource-manager
最佳做法
主题URL
在 Azure 中使用 NVA 支持远程访问场景https://learn.microsoft.com/en-us/azure/vpn-gateway/nva-work-remotely-support
决策
主题URL
选择合适的 Azure VPN Gateway SKUhttps://learn.microsoft.com/en-us/azure/vpn-gateway/about-gateway-skus
规划从 Azure VPN Client for Linux 迁移https://learn.microsoft.com/en-us/azure/vpn-gateway/azure-vpn-client-linux-retirement
映射和迁移 Azure VPN Gateway SKUhttps://learn.microsoft.com/en-us/azure/vpn-gateway/gateway-sku-consolidation
将 Azure P2S VPN 从 SSTP 迁移到 IKEv2/OpenVPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/ikev2-openvpn-from-sstp
将 P2S VPN 从手动客户端迁移到 Microsoft 注册的客户端https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-gateway-update
将 VPN Gateway 从 Classic 迁移到 Resource Managerhttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-classic-resource-manager-migration
架构与设计模式
主题URL
设计和配置主动-主动 Azure VPN Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/about-active-active-gateways
通过对等互连使用跨区域 VPN/ExpressRoute Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-different-region
设计高可用的 Azure VPN Gateway 连接https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-highlyavailable
限制与配额
主题URL
比较 Azure VPN Gateway 旧版 SKU 和限制https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-skus-legacy
安全性
主题URL
为 S2S VPN 连接实施强制隧道https://learn.microsoft.com/en-us/azure/vpn-gateway/about-site-to-site-tunneling
在 Azure 门户中配置自定义 IPsec/IKE 策略https://learn.microsoft.com/en-us/azure/vpn-gateway/ipsec-ike-policy-howto
为 P2S VPN 用户启用多重身份验证https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-mfa
使用 Entra ID 和手动客户端应用配置 P2S VPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant
安全地查看和断开 Azure P2S VPN 会话https://learn.microsoft.com/en-us/azure/vpn-gateway/p2s-session-management
为 P2S Entra VPN 创建自定义受众应用 IDhttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-register-custom-app
根据 Entra 用户和组配置 P2S 访问控制https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-users-access
为使用 Entra ID 的 Azure VPN Client 启用设备 SSOhttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-vpn-client-windows-device-sso
使用 PowerShell 为 Azure 设置 P2S RADIUS VPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-how-to-radius-ps
了解 VPN Gateway 的角色和权限https://learn.microsoft.com/en-us/azure/vpn-gateway/roles-permissions
将安全最佳实践应用于 Azure VPN Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/secure-vpn-gateway
配置 Azure VPN Gateway 的加密设置https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-compliance-crypto
将 Azure P2S RADIUS 与 NPS 集成以支持 MFAhttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-radius-mfa-nsp
配置
主题URL
为 Entra 身份验证生成 P2S VPN 客户端配置文件https://learn.microsoft.com/en-us/azure/vpn-gateway/about-vpn-profile-download
在 VPN Gateway 上添加或删除 S2S 连接https://learn.microsoft.com/en-us/azure/vpn-gateway/add-remove-site-to-site-connections
配置 P2S 的 Azure VPN Client 可选设置https://learn.microsoft.com/en-us/azure/vpn-gateway/azure-vpn-client-optional-configurations
配置 Azure VPN Gateway 的 BGP 设置https://learn.microsoft.com/en-us/azure/vpn-gateway/configure-bgp
为 P2S VPN 创建自定义 IPsec 策略https://learn.microsoft.com/en-us/azure/vpn-gateway/create-custom-policies-p2s-ps
为 VPN Gateway 配置自定义流量选择器https://learn.microsoft.com/en-us/azure/vpn-gateway/custom-traffic-selectors
为 VPN Gateway 配置客户控制的维护时段https://learn.microsoft.com/en-us/azure/vpn-gateway/customer-controlled-gateway-maintenance
将 Azure VPN Gateway 重新配置为主动-主动模式https://learn.microsoft.com/en-us/azure/vpn-gateway/gateway-change-active-active
使用 Azure Monitor 配置 Azure VPN Gateway 监视https://learn.microsoft.com/en-us/azure/vpn-gateway/monitor-vpn-gateway
Azure VPN Gateway 监视指标参考https://learn.microsoft.com/en-us/azure/vpn-gateway/monitor-vpn-gateway-reference
在 Azure VPN Gateway 上配置 NAT 规则https://learn.microsoft.com/en-us/azure/vpn-gateway/nat-howto
管理 Azure VPN Gateway 根证书迁移https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-about-gateway-certificate-migration
在 VPN Gateway 上配置 P2S 证书身份验证https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-certificate-gateway
使用 OpenSSL 在 Linux 上生成 P2S VPN 证书https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-certificates-linux-openssl
使用 Entra ID 客户端配置 P2S VPN Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-gateway
为 P2S 配置使用 Entra ID 的 Azure VPN Clienthttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-entra-vpn-client
为 Azure P2S VPN 安装客户端证书https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-how-to-vpn-client-install-azure-cert
为 P2S RADIUS 身份验证配置 Azure VPN Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-radius-gateway
配置 P2S VPN 用户组和 IP 池https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-user-groups-about
使用 Azure CLI 配置 P2S VPN 用户 IP 池https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-user-groups-create-cli
在 Azure 中生成和更新 P2S VPN 客户端配置文件https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-user-vpn-profile-update
使用证书身份验证配置 P2S VPN 客户端https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-certificate
配置用于 P2S RADIUS 身份验证的 VPN 客户端https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-configuration-radius
配置经过证书身份验证的站点到站点 VPN Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/site-to-site-certificate-authentication-gateway
通过 ExpressRoute 配置高带宽 S2S 隧道https://learn.microsoft.com/en-us/azure/vpn-gateway/site-to-site-high-bandwidth-tunnel
在 Azure 中为 S2S VPN 配置强制隧道https://learn.microsoft.com/en-us/azure/vpn-gateway/site-to-site-tunneling
了解 Azure 中点到站点 VPN 的路由行为https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing
Azure 支持的 VPN 设备和 IPsec 参数https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-devices
Azure VPN Gateway 资源和连接设置https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-gateway-settings
使用 Windows PowerShell 生成 P2S VPN 证书https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
在 Linux strongSwan 上生成 P2S VPN 证书https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site-linux
使用 MakeCert 生成 P2S VPN 证书https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site-makecert
通过 VPN Gateway 将经典 VNet 连接到 ARM VNethttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-connect-different-deployment-models-portal
使用 PowerShell 将经典 VNet 连接到 ARM VNethttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-connect-different-deployment-models-powershell
配置基于路由的 VPN 以连接多个基于策略的设备https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-connect-multiple-policybased-rm-ps
设置始终在线设备 VPN 隧道以连接到 Azurehttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-always-on-device-tunnel
配置 macOS 始终在线 VPN 设备隧道以连接到 Azurehttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-always-on-device-tunnel-macos
为 Azure 配置始终在线用户 VPN 隧道https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-always-on-user-tunnel
使用 PowerShell 配置基于证书的点到站点 VPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-rm-ps
使用 Azure CLI 配置 VNet 到 VNet 的 VPN 连接https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-cli
在门户中配置 VNet 到 VNet 的 VPN 连接https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal
使用 PowerShell 配置自定义 IPsec/IKE 策略https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-ipsecikepolicy-rm-powershell
向 P2S VPN 客户端播发自定义路由https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-p2s-advertise-custom-routes
使用 PowerShell 创建 VNet 到 VNet 的 VPN 连接https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vnet-vnet-rm-ps
配置和排查 Azure VPN Gateway 连接问题https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vpn-faq
为 Azure VPN 客户端创建 Intune 自定义配置文件https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-profile-intune
集成与编码模式
主题URL
为 P2S 用户组配置 NPS RADIUS VSAhttps://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-user-groups-radius
配置通过 ExpressRoute 专用对等互连的 S2S VPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/site-to-site-vpn-private-peering
Azure VPN Gateway 的 Cisco ASA 配置示例https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-3rdparty-device-config-cisco-asa
配置 Azure 与 AWS 之间的 BGP VPN 连接https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-aws-bgp
部署
主题URL
将 VPN Gateway Basic 公共 IP 迁移到 Standardhttps://learn.microsoft.com/en-us/azure/vpn-gateway/basic-public-ip-migrate-about
将 VPN Gateway 公共 IP 从 Basic 迁移到 Standardhttps://learn.microsoft.com/en-us/azure/vpn-gateway/basic-public-ip-migrate-howto
使用 PowerShell 创建 Basic SKU VPN Gatewayhttps://learn.microsoft.com/en-us/azure/vpn-gateway/create-gateway-basic-sku-powershell
部署区域冗余 VPN 和 ExpressRoute 网关https://learn.microsoft.com/en-us/azure/vpn-gateway/create-zone-redundant-vnet-gateway
以最短停机时间升级 Azure VPN Gateway SKUhttps://learn.microsoft.com/en-us/azure/vpn-gateway/gateway-sku-upgrade
使用 PowerShell 创建带共享密钥的 S2S VPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-create-site-to-site-rm-powershell
使用 Azure CLI 创建带共享密钥的 S2S VPNhttps://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-cli

评论

支持 Markdown