mirror of
https://github.com/netbirdio/docs.git
synced 2026-08-25 01:01:27 +02:00
docs: drop inaccurate containerized routing peer ip_forward note (#761)
The agent already enables ip_forward inside the container's own network namespace when it has NET_ADMIN, so the blanket claim that a container cannot do this on its own is misleading. The preceding paragraph already covers the fallback case when the agent cannot modify sysctl.
This commit is contained in:
@@ -70,8 +70,6 @@ echo "net.ipv4.ip_forward=1" | sudo tee /etc/sysctl.d/99-netbird.conf
|
||||
echo "net.ipv6.conf.all.forwarding=1" | sudo tee -a /etc/sysctl.d/99-netbird.conf
|
||||
```
|
||||
|
||||
For containerized routing peers, set this on the **host** that runs the container — sysctl is a host-level setting and a container cannot enable IP forwarding on its own.
|
||||
|
||||
On Windows, no extra setup is needed to forward traffic to routed subnets. Only enable `NB_ENABLE_LOCAL_FORWARDING` if you also need clients to reach services bound to the routing peer's own local addresses — for example, a dashboard or service running on the routing peer host itself:
|
||||
|
||||
```powershell
|
||||
|
||||
Reference in New Issue
Block a user