Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Commit 33ae3b1

Browse files
Merge pull request #213 from LambdaLabs/update-firewall-docs
Update Firewall FAQ
2 parents 6b2569b + 28d30b4 commit 33ae3b1

File tree

2 files changed

+26
-43
lines changed

2 files changed

+26
-43
lines changed
Loading

content/en/cloud/get-started-firewall/index.md

Lines changed: 26 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags:
77
---
88

99
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.
1111

1212
{{% alert title="Note" color="info" %}}
1313
Firewall rules configured using the Firewall feature apply to all of your
@@ -32,60 +32,43 @@ To use the Firewall feature:
3232
1. Next to **Inbound Rules**, click **Edit** to configure incoming TCP and UDP
3333
traffic rules.
3434

35-
{{< imgproc inbound-rules Resize "400x" >}}{{< /imgproc >}}
35+
{{< imgproc inbound-rules Resize "800x" >}}{{< /imgproc >}}
3636

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:
4038

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.
5445

5546
{{% 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**.
5849
{{% /alert %}}
5950

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:
6452

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`.
6857

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`.
7159

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**.
7461

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:
7863

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`.
8266

83-
1. Set **Source** to your public IP address.
84-
{{% /alert %}}
67+
1. (Optional) Enter a **Description** for the rule.
8568

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.
8770

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.
8973

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

Comments
 (0)