Skip to content

Commit 4ab59c0

Browse files
committed
improve configure IP manually
1 parent 232dd1e commit 4ab59c0

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

docs/installation/install.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,25 @@ Bee is designed to work on a lot of different hardware configurations. To facili
265265
```yaml
266266
db-open-files-limit: 2000
267267
```
268+
### NAT Address
268269

270+
To enable others to connect to your node, you must broadcast your public IP and ensure Bee is accessible on the right p2p port (usually `1634`). We recommend you [manually configure your external IP and check connectivity](/docs/installation/connectivity) to ensure your Bee is able to receive connections from other peers.
271+
272+
First determine your IP address.
273+
274+
```bash
275+
curl icanhazip.com
276+
```
277+
278+
```bash
279+
123.123.123.123
280+
```
281+
282+
Then configure your node, including your p2p port (usually 1634).
283+
284+
```yaml
285+
nat-addr: "123.123.123.123:1634"
286+
```
269287
#### Debug API
270288

271289
For a new installation of Bee, the debug API endpoint is not yet exposed for security reasons. To enable the debug API endpoints, set `debug-api-enable` to `true` in your [configuration file](/docs/working-with-bee/configuration) and restart your Bee service.

docs/working-with-bee/configuration.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,22 @@ In order to access the blockchain, your Bee must be connected to an Ethereum blo
2525

2626
To enable others to connect to your node, you must broadcast your public IP and ensure Bee is accessible on the right p2p port (usually `1634`). We recommend you [manually configure your external IP and check connectivity](/docs/installation/connectivity) to ensure your Bee is able to receive connections from other peers.
2727

28+
First determine your IP address.
29+
30+
```bash
31+
curl icanhazip.com
32+
```
33+
34+
```bash
35+
123.123.123.123
36+
```
37+
38+
Then configure your node, including your p2p port (usually 1634).
39+
40+
```yaml
41+
nat-addr: "123.123.123.123:1634"
42+
```
43+
2844
### LevelDB Open File Descriptors Limit
2945
3046
Bee is designed to work on a lot of different hardware. To facilitate the exploration of this during our beeta phase, we have given node operators access to leveldb's `--db-open-files-limit`. This helps determine the speed with which Bee can read and write to it's database, and therefore it's efficiency in forwarding and serving chunks. Some say setting this to much more than the default 200 leads to a much enhanced ability to participate in the swarm and get those gBZZ! Share your experience in the #node-operators channel of our [Discord server](https://discord.gg/wdghaQsGq5) to help us make this process more automated in the future!

0 commit comments

Comments
 (0)