netbird/client/internal/wgproxy
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
..
factory_linux.go Handle conn store in thread safe way (#1047) 2023-08-03 18:24:23 +02:00
factory_nonlinux.go Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00
factory.go Fix/ebpf free (#1057) 2023-08-07 11:43:32 +02:00
portlookup_test.go Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00
portlookup.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
proxy_ebpf_test.go Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00
proxy_ebpf.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
proxy_userspace.go Support client default routes for Linux (#1667) 2024-03-21 16:49:28 +01:00
proxy.go Wg ebpf proxy (#911) 2023-07-26 14:00:47 +02:00