Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relay will not return data #37

Open
Daxcor69 opened this issue Apr 8, 2022 · 2 comments
Open

relay will not return data #37

Daxcor69 opened this issue Apr 8, 2022 · 2 comments

Comments

@Daxcor69
Copy link

Daxcor69 commented Apr 8, 2022

Hello, I have this helm chart installed and working fine. I can watch the logs and see my incoming requests. However there is no reply. Here is the issue from the logs.

Warning: net.ipv4.ip_forward is disabled.
Subnet routes won't work without IP forwarding.
See https://tailscale.com/kb/1104/enable-ip-forwarding/

because the pod is a read only file system I cant make the change I need to enable fowarding.. Can you help?

brad

@Daxcor69
Copy link
Author

Daxcor69 commented Apr 8, 2022

So I tried to roll my own image, with the following:

ROM alpine:latest

RUN apk add --no-cache iptables iproute2 ca-certificates bash --virtual=.install-deps curl tar

RUN curl -sLO "https://pkgs.tailscale.com/stable/tailscale_1.22.2_amd64.tgz"

RUN tar -zxf tailscale_1.22.2_amd64.tgz -C /usr/local/bin --strip=1 tailscale_1.22.2_amd64/tailscaled tailscale_1.22.2_amd64/tailscale

RUN apk del .install-deps

RUN echo 'net.ipv4.ip_forward = 1' | tee -a /etc/sysctl.conf

RUN echo 'net.ipv6.conf.all.forwarding = 1' | tee -a /etc/sysctl.conf

COPY entrypoint /usr/local/bin/entrypoint

ENTRYPOINT ["/usr/local/bin/entrypoint"]

When I go to launch the chart, I get an error in the Pod "cannot execute bash unknown file or dir" Not really sure yet what is going on.

Brad

@mvisonneau
Copy link
Owner

👋 hey @Daxcor69, I reckon the sysctl config has to be set at the host layer, unless you are running your pods with full privilege & capabilities 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants