diff --git a/charts/stable/neko/questions.yaml b/charts/stable/neko/questions.yaml index 61e1c30f97e..80427a10816 100644 --- a/charts/stable/neko/questions.yaml +++ b/charts/stable/neko/questions.yaml @@ -46,6 +46,12 @@ questions: additional_attrs: true type: dict attrs: + - variable: ip + label: IP + description: IP of the server that will be sent to client, if not specified, public IP is automatically resolved. + schema: + type: string + default: "0.0.0.0" - variable: auth label: Auth Credentials schema: diff --git a/charts/stable/neko/values.yaml b/charts/stable/neko/values.yaml index 63957583e17..58ef4b10536 100644 --- a/charts/stable/neko/values.yaml +++ b/charts/stable/neko/values.yaml @@ -64,6 +64,7 @@ service: protocol: udp neko: + ip: "0.0.0.0" auth: user_pass: "" admin_pass: "" @@ -88,6 +89,7 @@ workload: env: NEKO_BIND: '{{ printf ":%v" .Values.service.main.ports.main.port }}' NEKO_PATH_PREFIX: "/" + NEKO_NAT1TO1: "{{ .Values.neko.ip }}" # NEKO_EPR NEKO_TCPMUX: "{{ .Values.service.mux.ports.tcp.port }}" NEKO_UDPMUX: "{{ .Values.service.mux.ports.tcp.port }}"