Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VBRFailoverPlanPublicIPRule

Short Description

Creates a VBRFailoverPlanPublicIPRule object.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

New-VBRFailoverPlanPublicIPRule -SourceIp <string> -SourcePort <int> -TargetIp <string> -TargetPort <int> [-Description <string>]  [<CommonParameters>]

Detailed Description

This cmdlet creates a VBRFailoverPlanPublicIPRule object. This object contains a rule for mapping public IP and ports to the internal IP and ports of the cloud replica VM. Public IP address is selected from the public IP address pool. Server provider assigns the public IP address pool in tenant's hardware plan.

The object is used then in the New-VBRCloudFailoverPlanObject cmdlet.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

SourceIp

Specifies the public IP address you want to set for the replica VM. Select the public IP address from the IP address pool assigned by service provider in the hardware plan.

True

Named

False

False

SourcePort

Specifies the port you want to set for the replica VM.

True

Named

False

False

TargetIp

The original internal IP address of the replica VM.

True

Named

False

False

TargetPort

The internal port of the replica VM.

The 22 port is reserved and cannot be used.

True

Named

False

False

Description

The description of the rule.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRFailoverPlanPublicIPRule

Example

This example shows how to create a public IP rule.

PS C:\PS> New-VBRFailoverPlanPublicIPRule -SourceIp "45.0.0.2" -SourcePort 8888 -TargetIp "172.16.2.232" -TargetPort 3389 -Description "Public IP for srv03"

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation