FW RULES

#SSH Rule
root@oco:~$ BROWSER > https://portal.azure.com > VPS > Networking > Add Inbound Port Rule
 Source: {My IP Address}
 Source IP Address/CIDR Ranges: {xxx.xxx.xxx.xxx}
 Sour Port Ranges: *
 Destination: Any
 Service: SSH
 Destination Port Ranges: 22
 Protocol: TCP
 Action: Allow
 Priority: 100
 Name: AllowMyIPAddressSSHInbound
 
#HTTPS Rule
root@oco:~$ BROWSER > https://portal.azure.com > VPS > Networking > Add Inbound Port Rule
 Source: {My IP Address}
 Source IP Address/CIDR Ranges: {xxx.xxx.xxx.xxx}
 Sour Port Ranges: *
 Destination: Any
 Service: HTTPS
 Destination Port Ranges: 443
 Protocol: TCP
 Action: Allow
 Priority: 110
 Name: AllowHTTPSInbound
 
#HTTP Rule
root@oco:~$ BROWSER > https://portal.azure.com > VPS > Networking > Add Inbound Port Rule
 Source: {My IP Address}
 Source IP Address/CIDR Ranges: {xxx.xxx.xxx.xxx}
 Sour Port Ranges: *
 Destination: Any
 Service: HTTP
 Destination Port Ranges: 80
 Protocol: TCP
 Action: Allow
 Priority: 120
 Name: AllowHTTPInbound
 
#gophish Rule
root@oco:~$ BROWSER > https://portal.azure.com > VPS > Networking > Add Inbound Port Rule
 Source: {My IP Address}
 Source IP Address/CIDR Ranges: {xxx.xxx.xxx.xxx}
 Sour Port Ranges: *
 Destination: Any
 Service: {Any}
 Destination Port Ranges: 3333
 Protocol: Any
 Action: Allow
 Priority: 120
 Name: AllowGophish3333Inbound
 
#Rule: AllowVnetInbound
 Priority: 65000
 Port: Any
 Protocol: Any
 Source: VirtualNetwork
 Destination: VirtualNetwork
 Action: Allow
  
#Rule: AllowAzureLoadBalancerInbound
 Priority: 65001
 Port: Any
 Protocol: Any
 Source: AzureLoadBalancer
 Destination: Any
 Action: Allow
  
#Rule: DenyAllInbound
 Priority: 65500
 Port: Any
 Protocol: Any
 Source: Any
 Destination: Any
 Action: Deny

Last updated