Closed darkdrgn2k closed 4 years ago
ref #322
Two options to work around bug identified in #322
Options defined in /etc/yggdrasil.iptunnel.conf as "reroutepeers"
/etc/yggdrasil.iptunnel.conf
[general] reroutepeers=unroutepeers
Default - empty no workaround
Iterate through peers and add them to the systems default gateway Add default routes over ygg
Currently works for all listed peers
When gateway changes tunnel collapses
Instead adding default routes progressively add routes but omitting the peer's ip
When ygg interface collapses routes are removed Since route for peer is never set it always uses the system default (survives roaming wifi etc)
Currently works for only the first peer Fills up the route table with routes
ref #322
Two options to work around bug identified in #322
Options defined in
/etc/yggdrasil.iptunnel.conf
as "reroutepeers"Default - empty no workaround
reroutepeers=routepeers
Iterate through peers and add them to the systems default gateway Add default routes over ygg
Pros
Currently works for all listed peers
Cons
When gateway changes tunnel collapses
reroutepeers=unroutepeers
Instead adding default routes progressively add routes but omitting the peer's ip
Pros
When ygg interface collapses routes are removed Since route for peer is never set it always uses the system default (survives roaming wifi etc)
Cons
Currently works for only the first peer Fills up the route table with routes
Additional Notes