How to change the default port 51820
of Flannel Wireguard?
#10784
Unanswered
LucienShui
asked this question in
Q&A
Replies: 1 comment 1 reply
-
No, and either way it is expected to be the same for all cluster members - so simply being able to change it would not solve the problem. Node addresses are also expected to be unique, do not join multiple nodes to the cluster with the same internal or external IPs or hostnames. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a cluster with the IP address xxx. Now, I have two more machines under the same public IP address yyy.
I started the server with
--node-external-ip=xxx --flannel-backend=wireguard-native --flannel-external-ip
according the doc: https://docs.k3s.io/networking/distributed-multicloudNow, I want to add these two new nodes to the cluster using
--node-external-ip=yyy
.However, I realized that k3s uses the fixed port 51820 for WireGuard connections. I can forward port 51820 for one machine to the IP address yyy, but I can't do it for both machines simultaneously.
Is there any way to configure Flannel WireGuard to use a port other than 51820?
Beta Was this translation helpful? Give feedback.
All reactions