Skip to content

Commit

Permalink
Merge pull request #28 from FrederikNS/fix/port-forward-name-clash
Browse files Browse the repository at this point in the history
Fix port-forward name clash
  • Loading branch information
angelnu authored Dec 4, 2023
2 parents b9db2c1 + dea38ed commit 7637aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/client_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ip route
# Derived settings
K8S_DNS_IP="$(cut -d ' ' -f 1 <<< "$K8S_DNS_IPS")"
GATEWAY_IP="$(dig +short "$GATEWAY_NAME" "@${K8S_DNS_IP}")"
NAT_ENTRY="$(grep "$(hostname)" /config/nat.conf || true)"
NAT_ENTRY="$(grep "^$(hostname) " /config/nat.conf || true)"
VXLAN_GATEWAY_IP="${VXLAN_IP_NETWORK}.1"

# Make sure there is correct route for gateway
Expand Down

0 comments on commit 7637aaf

Please sign in to comment.