]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
wireguard: Add a custom routing table for peers
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Apr 2025 16:30:59 +0000 (18:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Apr 2025 16:30:59 +0000 (18:30 +0200)
commit43867c1e070fc96420a666b0bb21182eff16787b
tree9c7f2fe1511917b7c045272d0547d2c266db375b
parent8b7f769451feade69f7a269387f67d3f95dcaa90
wireguard: Add a custom routing table for peers

This is a dirty hack to make connections to VPN providers actually work.

We mark all WG packets after encryption and use a secondary routing
table to look up any routes to the peers. That way, we can replace the
default route in the main routing table without having to care about the
special routes there.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/195/filelists/files
lfs/iproute2
src/initscripts/system/wireguard