Routing Traffic to Private Networks - docker? #177

Closed
opened 2025-11-20 05:07:24 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @itsalljustdata on GitHub (Sep 7, 2022).

Should the routing to private networks work when the gateway is in a docker container?

traceroute 10.1.0.2
traceroute to 10.1.0.2 (10.1.0.2), 30 hops max, 60 byte packets
 1  100.119.x.x (100.119.x.x)  62.201 ms  61.936 ms  61.879 ms
 2  * * *
 3  * * *
 4  * * *
etc
etc

wg show all dump is showing what i'd expect based on the rules (i.e. 10.1.0.0/22 going to the appropriate netbird peer)

Originally created by @itsalljustdata on GitHub (Sep 7, 2022). Should the routing to private networks work when the gateway is in a docker container? ``` traceroute 10.1.0.2 traceroute to 10.1.0.2 (10.1.0.2), 30 hops max, 60 byte packets 1 100.119.x.x (100.119.x.x) 62.201 ms 61.936 ms 61.879 ms 2 * * * 3 * * * 4 * * * etc etc ``` `wg show all dump` is showing what i'd expect based on the rules (i.e. 10.1.0.0/22 going to the appropriate netbird peer)
Author
Owner

@itsalljustdata commented on GitHub (Sep 7, 2022):

Ignore -

It seems that it's fine with netbird running in a docker container, but apparently NOT running inside a container which is running on a Unifi UDM Pro

@itsalljustdata commented on GitHub (Sep 7, 2022): Ignore - It seems that it's fine with netbird running in a docker container, but apparently *NOT* running inside a container which is running on a Unifi UDM Pro
Author
Owner

@mlsmaycon commented on GitHub (Sep 7, 2022):

Ok, I am interested on this setup as if the UniFi OS would have the nftables modules it should work well with masquerading enabled, unless there is extra filtering on the host itself

@mlsmaycon commented on GitHub (Sep 7, 2022): Ok, I am interested on this setup as if the UniFi OS would have the nftables modules it should work well with masquerading enabled, unless there is extra filtering on the host itself
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#177