This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/osdep
Travis LaDuke 692a0e7ac2 Set a high metric on linux routes that have a via.
See issue #750.

zerotier doesn't currently set a metric on routes. Linux
takes this to mean "0", the highest priority.

Every comment in the issue is about routing between zerotier
and lan and how they conflict.

This quick change could fix this problem for most people.

The subnet route for the zerotier network, the one with no
via, is still 0 in this patch. Just the "via" routes get
higher metrics.
If for some reason, you needed your via routes to have
higher priority, you could use a prefix work-around:

192.168.1.0/25 via 10.147.17.1
192.168.1.128/25 via 10.147.17.1
2022-01-07 13:10:36 -08:00
..
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2016-12-27 11:57:05 +01:00
2020-08-20 12:51:39 -07:00
2020-11-16 11:11:52 -08:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2020-08-20 12:51:39 -07:00
2015-03-31 14:12:33 -07:00
2020-08-12 09:16:18 -07:00
2020-08-11 18:55:42 -07:00

OS-Dependent and OS-Interface Things

This folder contains stuff that interfaces with the base operating system like Phy for network access and the various OS-specific Ethernet tap drivers.