netbird/iface
Viktor Liu 2475473227
Support client default routes for Linux (#1667)
All routes are now installed in a custom netbird routing table.
Management and wireguard traffic is now marked with a custom fwmark.
When the mark is present the traffic is routed via the main routing table, bypassing the VPN.
When the mark is absent the traffic is routed via the netbird routing table, if:
- there's no match in the main routing table
- it would match the default route in the routing table

IPv6 traffic is blocked when a default route IPv4 route is configured to avoid leakage.
2024-03-21 16:49:28 +01:00
..
bind Update pion v3 (#1398) 2023-12-20 23:02:42 +01:00
mocks Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
netstack Enable review linter with exported docs check (#1647) 2024-02-29 16:05:31 +01:00
address.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
device_wrapper_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
device_wrapper.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
iface_android.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
iface_create.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
iface_darwin.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
iface_ios.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
iface_linux.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
iface_test.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
iface_windows.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
iface.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00
module_linux_test.go Extend linter rules (#1300) 2023-11-10 16:33:13 +01:00
module_linux.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
module.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
name_darwin.go Mobile (#735) 2023-03-17 10:37:27 +01:00
name.go Mobile (#735) 2023-03-17 10:37:27 +01:00
tun_adapter.go Add codespell job (#1281) 2023-11-07 13:37:57 +01:00
tun_android.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_args.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_darwin.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_ios.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_kernel_linux.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_link_linux.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_netstack.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun_usp_linux.go Fix typo in iface/tun_usp_linux.go (#1457) 2024-01-12 09:36:06 +01:00
tun_windows.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
tun.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
uapi_windows.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
uapi.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
wg_configurer_kernel.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
wg_configurer_usp_test.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00
wg_configurer_usp.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
wg_configurer.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00