Comments (4)
from moby.
--data-path-addr
sets the destination address which remote nodes should use when forwarding VXLAN overlay traffic to the local node, like --advertise-addr
for control plane traffic. It does not restrict which interfaces or source IP addresses the VXLAN socket is bound to, and never has. Unfortunately the implementation of VXLAN in Linux does not support binding to a specific interface or source IP address, either. Restricting access to the VXLAN port using firewall rules is unfortunately your only option.
from moby.
cc @dvdksn perhaps something to clarify in the docs (and maybe the flag description)
from moby.
@corhere thanks for your reply. I understand the usage of this flag and the linux limitation about vxlan.
As @thaJeztah mentioned, I think it should be clarified in the docs with a warning for possibility of security problem.
Another thing is that setting firewall rule for each new node we add to the cluster makes an extra step in the scaling process and makes it error prone. It is possible to use another implementation for VXLAN that supports interface binding but I think it's not feasible for this use case.
from moby.
Related Issues (20)
- CDI device injection failed: unresolvable CDI devices HOT 5
- Per-interface sysctls HOT 7
- IsGitURL is missing support for the ssh protocol
- Docker fails to provide DNS/name/alias to containers in a overlay network when is created with IPv6 HOT 2
- Split Healthcheck start interval into its own default value as per docs HOT 1
- docker/client: support `DOCKER_HOST` with SSH protocol
- Show the total size and progress of the total downloaded size when pulling the image HOT 2
- Docker daemon reports invalid memory address or nil pointer dereference
- IPVLAN L3 is not forwarding non Docker DNS requests outside of the container anymore HOT 2
- Proposal: decompose --privileged into individual --security-opt options HOT 4
- Requests from docker container to remote DB are slow HOT 1
- docker image ls does not show images loaded from a tar file HOT 12
- Default Nvidia CDI spec location on rootless kit seems to be unaccessible HOT 1
- WIP: containerd integration: Multi-platform images UX
- "Incorrect" host-gateway in case with Rootless Docker HOT 4
- docker compose fails to mount sub-directories of named volumes HOT 2
- Fail to start a development container HOT 3
- [v26] Build caching with `type=cache` mounts HOT 7
- Provide the ability to update the container's DeviceRequest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moby.