Skip to content

Commit

Permalink
improve configure IP manually
Browse files Browse the repository at this point in the history
  • Loading branch information
significance committed May 27, 2021
1 parent 232dd1e commit 4ab59c0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/installation/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,25 @@ Bee is designed to work on a lot of different hardware configurations. To facili
```yaml
db-open-files-limit: 2000
```
### NAT Address

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.

First determine your IP address.

```bash
curl icanhazip.com
```

```bash
123.123.123.123
```

Then configure your node, including your p2p port (usually 1634).

```yaml
nat-addr: "123.123.123.123:1634"
```
#### Debug API

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.
Expand Down
16 changes: 16 additions & 0 deletions docs/working-with-bee/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ In order to access the blockchain, your Bee must be connected to an Ethereum blo

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.

First determine your IP address.

```bash
curl icanhazip.com
```

```bash
123.123.123.123
```

Then configure your node, including your p2p port (usually 1634).

```yaml
nat-addr: "123.123.123.123:1634"
```
### LevelDB Open File Descriptors Limit
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!
Expand Down

0 comments on commit 4ab59c0

Please sign in to comment.