You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
42
93
## Define Your LAN as a Network Resource
43
94
1. Click **Add Resource**.
44
95
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.
112
163
2. A successful ping response confirms that your routing peer is correctly routing traffic to resources in your home network.
113
164
114
165
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