Forum Discussion
Show config elements for existing S2S VPN
This is what you are looking for. You can always download a generic configuration as well from the portal. You can use PowerShell or CLI to change the configuration to different values than what is default. I will also attach the Microsoft Docs page that outlines this.
$RG = "TestRG1"
$GWName = "VNet1GW"
$Connection = "VNet1toSite1"
# List the available VPN device models and versions
Get-AzVirtualNetworkGatewaySupportedVpnDevice -Name $GWName -ResourceGroupName $RG
# Download the configuration script for the connection
Get-AzVirtualNetworkGatewayConnectionVpnDeviceConfigScript -Name $Connection -ResourceGroupName $RG -DeviceVendor Juniper -DeviceFamily Juniper_SRX_GA -FirmwareVersion Juniper_SRX_12.x_GA
Download VPN device configuration scripts - https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-download-vpndevicescript