FIREWALL CREATION FOR VM
-
Access GCP Dashboard
-
Search for the term "Firewall" and Click the Firewall
-
Click CREATE FIREWALL RULE
-
Provide the below information:
-
Name: SSH-firewall
-
Description: SSH-firewall that allows SSH and required ports to the Virtual Machine
-
Direction Of Traffic: Ingress
-
Action On Match: Allow
-
Targets: Choose Specified Target Tags
-
Target Tags: SSH-firewall
-
Source Ipv4 ranges: 0.0.0.0/0
-
Protocols and Ports: Select the the tcp box and provide the value: 22,80,443,55555,9092
-
-
Click SAVE to create a new firewall