Re: [systemd-devel] Wireguard routes only after connect

2024-02-24 Thread Mantas Mikulėnas
On Wed, Feb 14, 2024, 10:55 Julian Zielke wrote: > Hi, > > > > is there a possibility to only add the routes from allowed-ips to the > kernel routing table after the peer has connected? > > Because since the tunnel itself is stateless, there is no way for me to > make use of OSPF to route packets

Re: [systemd-devel] Wireguard routes only after connect

2024-02-23 Thread Andrei Borzenkov
On 14.02.2024 11:55, Julian Zielke wrote: Hi, is there a possibility to only add the routes from allowed-ips to the kernel routing table after the peer has connected? This directly contradicts your next statement Because since the tunnel itself is stateless, there is no way for me to make

[systemd-devel] Wireguard routes only after connect

2024-02-14 Thread Julian Zielke
Hi, is there a possibility to only add the routes from allowed-ips to the kernel routing table after the peer has connected? Because since the tunnel itself is stateless, there is no way for me to make use of OSPF to route packets to a selective server running a tunnel to the same endpoint (for