Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions site/en/guides/border-router/build-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,19 @@ Linux typically disables IP forwarding by default. Run the
[`setup-host`](https://raw.githubusercontent.com/openthread/ot-br-posix/refs/heads/main/etc/docker/border-router/setup-host)
script to enable IP forwarding on the host system.

The `setup-host` script defaults to using the `wlan0` interface
and can be run as shown below:

```
$ curl -sSL https://raw.githubusercontent.com/openthread/ot-br-posix/refs/heads/main/etc/docker/border-router/setup-host | bash
```

If you are using a different infrastructure interface (for example, `eth0`), you must
specify it by setting the `INFRA_IF_NAME` environment variable before running the script.
For example:

```
$ curl -sSL
https://raw.githubusercontent.com/openthread/ot-br-posix/refs/heads/main/etc/docker/border-router/setup-host | bash
$ INFRA_IF_NAME=eth0 curl -sSL https://raw.githubusercontent.com/openthread/ot-br-posix/refs/heads/main/etc/docker/border-router/setup-host | bash
```

## Step 3: Get the OTBR Docker image
Expand Down