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

--snat-subnet-routes=true not work #1010

Closed
pingod opened this issue Nov 23, 2022 · 2 comments
Closed

--snat-subnet-routes=true not work #1010

pingod opened this issue Nov 23, 2022 · 2 comments
Labels
bug Something isn't working stale

Comments

@pingod
Copy link

pingod commented Nov 23, 2022

Bug description
--snat-subnet-routes=true not work

To Reproduce

  1. tailscale up --login-server=http://server_url --accept-routes=true --accept-dns=false --advertise-routes=10.0.0.234/32--snat-subnet-routes=true

  2. headscale routes enable -i 12 -r "10.0.0.234/32"

  3. headscale node route list -i 12
    Route | Enabled
    10.0.0.234/32 | true

Context info
i use tcpdump at one of node(ip:10.0.0.234) :

tcpdump -i ens160 icmp and host 10.0.9.3 -nn -vvv
tcpdump: listening on ens160, link-type EN10MB (Ethernet), capture size 262144 bytes
13:52:26.379681 IP (tos 0x0, ttl 63, id 42914, offset 0, flags [DF], proto ICMP (1), length 84)
10.0.9.3 > 10.0.0.234: ICMP echo request, id 18, seq 93, length 64
13:52:26.379754 IP (tos 0x0, ttl 64, id 29816, offset 0, flags [none], proto ICMP (1), length 84)
10.0.0.234 > 10.0.9.3: ICMP echo reply, id 18, seq 93, length 64
13:52:27.392447 IP (tos 0x0, ttl 63, id 42921, offset 0, flags [DF], proto ICMP (1), length 84)
10.0.9.3 > 10.0.0.234: ICMP echo request, id 18, seq 94, length 64

So, --snat-subnet-routes=true not work

Version of headscale used: v0.17.0-beta4
Version of tailscale client: 1.32.2
OS: Ubuntu 18

@github-actions
Copy link
Contributor

This issue is stale because it has been open for 180 days with no activity.

@github-actions github-actions bot added the stale label Sep 28, 2023
@github-actions
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant