We use cookies to improve your browsing experience. By continuing to use this website, you agree to our use of cookies in accordance with our privacy policy. Details

Accept and close

Port forwarding

Port forwarding

Port forwarding through NAT is required to provide access to the virtual machine from the outside. For example, you can create appropriate rules for connecting to a virtual machine via RDP or SSH, open access to a website or application.

To configure port forwarding:

1) Go to Networking -> Edges. Click on VEG. Click CONFIGURE SERVICES.

2) In the NAT tab, click + DNAT RULE to create a DNAT rule that will allow you to connect to the VM on the internal network using the external IP address of the VEG. In the rule settings window, specify:

Applied On - external network connected to VEG (See "Configuring VEG for Internet access" p. 2)

Description - enter a description. This will help you understand in the future what the rule was created for.

Original (External) IP / range - specify the external IP address of the VEG (See "Configuring VEG for Internet access" p. 2)

Translated (Internal) IP / range - specify the IP address of the virtual machine to which you want to connect.

Protocol - specify the used protocol: TCP or UDP.

Original port - specify the port that will be accessible from outside. For security reasons, it is recommended to use ports other than the default ports. For example, TCP port 3389 is used for the RDP protocol. In the Original port field, you can specify 53389. Translated port - specify the port to which you want to connect on the virtual machine. For RDP, TCP port 3389 is used.

Enabled - enable the rule.

Click KEEP to add the rule. Click Save changes.

3) Go to the Firewall tab and click +. A row of the new rule will appear in the table. To create a rule, specify:

Name - the name of the rule.

Source - specify the address which you plan to connect from.

To allow connections from any address, use the value any

Destination - external IP address of the VEG (See "Configuring VEG for Internet access" p. 2). 

Service - click +, specify the used protocol: TCP or UDP.

Source port - use any value.

Destination port - the same value as in the "Original port" field of item 2.

Action – Accept.

Click KEEP to add the rule. Click Save changes.