Skip to content

Commit 8941c2a

Browse files
Access home network add subnet section (#396)
* Update access-home-network.mdx Create a rough draft for finding subnet * clean up spacing, change section wording
1 parent ee15ebd commit 8941c2a

File tree

1 file changed

+52
-1
lines changed

1 file changed

+52
-1
lines changed

src/pages/how-to/access-home-network.mdx

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,57 @@ After the registration is complete, proceed to the [**NetBird dashboard**](https
3939
<img src="/docs-static/img/how-to-guides/access-home-network/add-network-home-lan.png" alt="add-network-home-lan" className="imagewrapper"/>
4040
</p>
4141

42+
## Identify Your Local Subnet
43+
Use the steps below to quickly identify your local subnet for use as a Network Resource.
44+
### Windows
45+
1. Open **Command Prompt**.
46+
2. Run:
47+
```bash
48+
ipconfig
49+
```
50+
3. Look for your active network adapter.
51+
4. Note the values for:
52+
- `IPv4 Address`
53+
- `Subnet Mask`
54+
Example:
55+
```
56+
IPv4 Address. . . . . . . . . . . : 192.168.1.10
57+
Subnet Mask . . . . . . . . . . : 255.255.255.0
58+
```
59+
The subnet is `192.168.1.0/24`.
60+
### Linux
61+
1. Open **Terminal**.
62+
2. Run:
63+
```bash
64+
ip -c a
65+
```
66+
or
67+
```bash
68+
ip route
69+
```
70+
3. Identify the active interface (e.g., `eth0`, `wlan0`) and note the IP with CIDR suffix:
71+
Example:
72+
```
73+
inet 192.168.1.10/24
74+
```
75+
The subnet is `192.168.1.0/24`.
76+
### macOS
77+
1. Open **Terminal**.
78+
2. Run:
79+
```bash
80+
ifconfig
81+
```
82+
3. Locate the active interface (`en0`, `en1`, etc.).
83+
4. Look for:
84+
- `inet` (IP address)
85+
- `netmask` (in hex)
86+
Example:
87+
```
88+
inet 192.168.1.10 netmask 0xffffff00
89+
```
90+
Hex `0xffffff00` = `255.255.255.0`, which is `/24`.
91+
The subnet is `192.168.1.0/24`.
92+
4293
## Define Your LAN as a Network Resource
4394
1. Click **Add Resource**.
4495
2. Enter a name like "Home Subnet" and the CIDR of your home network into the Address field (e.g., 192.168.1.0/24).
@@ -112,4 +163,4 @@ you've previously created.
112163
2. A successful ping response confirms that your routing peer is correctly routing traffic to resources in your home network.
113164

114165
That’s it! You’ve successfully mapped your entire home LAN into a NetBird Network. Any peer included in your access policy
115-
can now securely access resources in your home subnet via your designated routing peer, without the need to open router ports or install software on every device.
166+
can now securely access resources in your home subnet via your designated routing peer, without the need to open router ports or install software on every device.

0 commit comments

Comments
 (0)