Incorrect public IP #1
Labels
good first issue
Good for newcomers
priority: critical
status: confirmed
type: enhancement
Feature request
Often STUNner cannot determine the public IP for a Gateway even in completely legitimate uses. For instance, many private Kubernetes clusters lack a LoadBalancer and node ExternalIPs (
kubeadm
does not set theNodeExternalIP
and theNodeExternaDNS
on nodes unless it is explicitly instructed to do so), so STUNner will fall to pick up a public IP. In these cases the ICE server configs generated by the auth-svc will contain the placeholder$STUNNER_ADDR
as the public IP, which is obviously wrong.There are a couple of related issues at play here here:
$STUNNER_ADDR
) we use as a fallback is obviously wrong,The plan is to implement the following logic in the auth-svc daemon to obtain a usable public IP:
public-ip
key then use the value of that key,public_address
in thestunnerd-config
config file,STUNNER_PUBLIC_ADDR
environment variable (if set),This issue tracks the progress on the development of this feature.
The text was updated successfully, but these errors were encountered: