fixup vpn routing config

This commit is contained in:
Tim Schubert 2022-04-27 20:17:30 +02:00
parent c05dd7536b
commit c98f24e703
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -49,9 +49,9 @@ in
postSetup = ''
set -x
wg set wg0 fwmark 51234
ip rule add table 2468
ip route add default dev ens3 table 2468
ip rule add fwmark 51234 table 2468
ip -6 rule add table 2468
ip -6 route add table 2468 default dev ens3
ip -6 rule add fwmark 51234 table 2468
'';
};
};