7
7
---
8
8
9
9
The [ Firewall feature] ( https://cloud.lambdalabs.com/firewall ) allows you to
10
- configure firewall rules to restrict incoming connections to your instances.
10
+ configure firewall rules to restrict incoming traffic to your instances.
11
11
12
12
{{% alert title="Note" color="info" %}}
13
13
Firewall rules configured using the Firewall feature apply to all of your
@@ -32,60 +32,43 @@ To use the Firewall feature:
32
32
1 . Next to ** Inbound Rules** , click ** Edit** to configure incoming TCP and UDP
33
33
traffic rules.
34
34
35
- {{< imgproc inbound-rules Resize "400x " >}}{{< /imgproc >}}
35
+ {{< imgproc inbound-rules Resize "800x " >}}{{< /imgproc >}}
36
36
37
- Set the ** Protocol** , ** Port range** , and ** Source** for the rule you want
38
- to add or modify. Use the ** Description** field to specify the purpose of
39
- the rule.
37
+ In the drop-down menu under ** Type** , select:
40
38
41
- - ** Protocol** can be ** All** (both TCP and UDP), ** TCP** , or ** UDP** .
42
-
43
- - Most services, such as web servers and mail servers, use TCP.
44
- - Some services, such as OpenVPN (by default), use UDP.
45
-
46
- {{% alert title="Tip" color="success" %}}
47
- In most cases, it's safe to set ** Protocol** to ** All** .
48
- {{% /alert %}}
49
-
50
- - ** Port range** can be:
51
-
52
- - A single port, for example, ` 8080 ` .
53
- - A range of ports, for example, ` 8080-8081 ` .
39
+ - ** Custom TCP** to manually configure a rule to allow incoming TCP traffic.
40
+ - ** Custom UDP** to manually configure a rule to allow incoming UDP traffic.
41
+ - ** HTTPS** to automatically configure a rule to allow incoming HTTPS traffic.
42
+ - ** SSH** to automatically configure a rule to allow incoming SSH traffic.
43
+ - ** All TCP** to automatically configure a rule to allow all incoming TCP traffic.
44
+ - ** All UDP** to automatically configure a rule to allow all incoming UDP traffic.
54
45
55
46
{{% alert title="Warning" color="warning" %}}
56
- If you don't have a rule to allow incoming traffic to port TCP/22, ** you won't
57
- be able to access your instances using SSH** .
47
+ If you don't have a rule to allow incoming traffic to port TCP/22, ** you
48
+ won't be able to access your instances using SSH** .
58
49
{{% /alert %}}
59
50
60
- - ** Source** can be:
61
-
62
- - A single IP address, for example, ` 203.0.113.1 ` .
63
- - A range of IP addresses in CIDR notation, for example, ` 203.0.113.0/24 ` .
51
+ In the ** Source** field, either:
64
52
65
- {{% alert title="Tip" color="success" %}}
66
- To allow incoming traffic from any source, set ** Source** to ` 0.0.0.0/0 ` .
67
- {{% /alert %}}
53
+ - Click the 🔎 to automatically enter your current IP address.
54
+ - Enter a single IP address, for example, ` 203.0.113.1 ` .
55
+ - Enter an IP address range in CIDR notation, for example,
56
+ ` 203.0.113.0/24 ` .
68
57
69
- {{% alert title="Tip" color="success" %}}
70
- To allow incoming traffic only from your computer:
58
+ To allow incoming traffic from any source, enter ` 0.0.0.0/0 ` .
71
59
72
- 1 . Learn your public IP address by visiting
73
- [ What Is My IP Address] ( https://ifconfig.me/ ) .
60
+ If you choose ** Custom TCP** or ** Custom UDP** , enter a ** Port range** .
74
61
75
- ** Note:** On most home networks, all computers and devices share the
76
- same public IP address, even though they all have a unique private IP
77
- address.
62
+ ** Port range** can be:
78
63
79
- Also, most home networks have a dynamically assigned public IP address,
80
- meaning the IP address can change. If your public IP address changes,
81
- you'll need to update your firewall rule.
64
+ - A single port, for example, ` 8080 ` .
65
+ - A range of ports, for example, ` 8080-8081 ` .
82
66
83
- 1 . Set ** Source** to your public IP address.
84
- {{% /alert %}}
67
+ 1 . (Optional) Enter a ** Description** for the rule.
85
68
86
- 1 . Click ** Add rule** to add additional rules, if you have any to add .
69
+ 1 . (Optional) Click ** Add rule** to add additional rules.
87
70
88
- Click the <span style =" color :red ;font-weight :bold " >x</span > next to any rule you want to delete.
71
+ 1 . (Optional) Click the <span style =" color :red ;font-weight :bold " >x</span > next
72
+ to any rule you want to delete.
89
73
90
- 1 . Once you're finished adding and modifying rules, click ** Update** to apply
91
- your changes.
74
+ 1 . Click ** Update** to apply your changes.
0 commit comments