By default, the created virtual machine is subject to a default Firewall rule that blocks the North-South traffic. You must create a SNAT rule (previous item) and a firewall rule to allow the virtual machine to access the public network.

  1. From the T1 router, go to the Firewall tab. By default, the Any <-> Any rule with DROP action is available
  2. Firewall rules are created based on 2 objects:
    1. IP Sets – IP ranges or individual IP addresses that can be used as the source or destination of a rule
    2. Static Group – an indication of the virtual network, which allows you to apply the rule to all virtual machines connected to this network.
      To create an association of VMs with the used routed network, go to the Security \ Static Groups tab, press the NEW button, enter the name of the Static Group and press the SAVE button.
  3. Select the created Static Group and select Manage Members to add the network containing the VMs that should be subject to the firewall rule.
  4. Select the network from which the machines will be covered by the rule and click SAVE.

  5. By selecting Associated VMs, we can preview which machines are associated with the created Static Group.
  6. If you want to use IP Set, select Security IP Set and click the NEW button. Then enter the name and IP address or range or CIDR to be used in this IP set and again in the firewall rule.
  7. After creating the Static Group or IP Set, go to the Firewall tab and select Edit Rules. In the next window, select NEW ON TOP to create an entry for the new Firewall rule.
  8. Enter the name of the rule and use the pencil tool to select:
    1. Type of traffic to be allowed within the rule (Application)
    2. Source as the created static group
    3. Destination as Any for public network access, and Action type as ALLOW.
  9. The VM already has the ability to allow ICMP traffic to the public network, e.g. to 8.8.8.8

    Unfortunately, the machine does not have the ability to resolve names on the public network.
  10. Edit the previously added rule using the pencil button.
  11. Select the option to edit the Applications section for the created rule.
  12. Select the DNS traffic type and validate the firewall rule.
  13. The VM will have the ability to resolve names based on DNS on the public network (8.8.8.8).