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

cmd/tailscaled: add ip-rule-pref-base argument that can override the priority of ip rule. #12035

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jclab-joseph
Copy link

@jclab-joseph jclab-joseph commented May 7, 2024

The current IP rule priority setting method is suitable for routing from mwan3 to tailscale, but conversely, it is not suitable for routing tailscale traffic using mwan3. For these cases, we make it possible for users to manually change IP rule priority.

In other words, it makes tailscale capable of operating in a multi-wan environment.

example: tailscaled --ip-rule-pref-base=5200 (This forces the ip rule priority to be set to 5200 even if mwan3 is set.)

…priority of ip rule

The current IP rule priority setting method is suitable for routing
from mwan3 to tailscale, but conversely, it is not suitable for
routing tailscale traffic using mwan3. For these cases, we make it
possible for users to manually change IP rule priority.

Signed-off-by: Joseph Lee <joseph@jc-lab.net>
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

Successfully merging this pull request may close these issues.

None yet

1 participant