Skip to content

fix(tunnel): add manual routes to the derived ones instead of replacing them - #32

Merged
chenx-dust merged 1 commit into
EasyTier:mainfrom
Nyvernn:pr/additive-routes
Aug 11, 2026
Merged

fix(tunnel): add manual routes to the derived ones instead of replacing them#32
chenx-dust merged 1 commit into
EasyTier:mainfrom
Nyvernn:pr/additive-routes

Conversation

@Nyvernn

@Nyvernn Nyvernn commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

buildIPv4Routes treats manual routes as a replacement for the derived ones, so
configuring a single manual route drops every peer's proxied subnet, the local virtual
address and the magic DNS route along with it.

On iOS includedRoutes is the only way a route ever reaches the tun device -- there is
no system routing table to fall back on -- so those destinations simply become
unreachable.

Adds the two sets together instead. The existing overlap pass already removes whatever
is redundant.

@chenx-dust

Copy link
Copy Markdown
Collaborator

把多余的 comment 清理掉后,这个 pr 可以合并

@chenx-dust
chenx-dust merged commit 764bf24 into EasyTier:main Aug 11, 2026
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.

2 participants