infra/roles/sensors/templates/40-route.j2

3 lines
120 B
Django/Jinja

ip route add {{ wireguard_cidr }} via {{ vpn_gw }}
ip route add {{ wg_clients['ber0.sudo.is'].ip }}/32 via {{ vpn_gw }}