Opprobrium
2021-10-11, 08:34:11
Hey,
vermutlich ist die Lösung ganz simpel:
Ich habe ein kleines Wireguard Netzwerk, derzeit bestehend aus einem Root Server und ein paar Geräten in meinem Haushalt.
Würde gerne noch ein Gerät aus einem anderen Haushalt da reinholen, allerdings nur auf einem Anschluss.
Das ist ein kleiner Server mit zwei LAN Adaptern, sollte also recht simpel sein.
Reicht sowas schon aus dafür in der client.conf:
[Interface]
PrivateKey = 1234567
Address = xx.xx.xx.xx/32
Table = off
PostUp = ip rule add from yy.yy.yy.yy table 42; ip route add default dev %i table 42;
PostDown = ip rule del from yy.yy.yy.yy table 42;
[Peer]
PublicKey = abcdefg
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = server-ip:port
xx.xx.xx.xx = client-IP im Wireguard VPN
yy.yy.yy.yy = IP des 2. Netzwerkadapters des Clients
vermutlich ist die Lösung ganz simpel:
Ich habe ein kleines Wireguard Netzwerk, derzeit bestehend aus einem Root Server und ein paar Geräten in meinem Haushalt.
Würde gerne noch ein Gerät aus einem anderen Haushalt da reinholen, allerdings nur auf einem Anschluss.
Das ist ein kleiner Server mit zwei LAN Adaptern, sollte also recht simpel sein.
Reicht sowas schon aus dafür in der client.conf:
[Interface]
PrivateKey = 1234567
Address = xx.xx.xx.xx/32
Table = off
PostUp = ip rule add from yy.yy.yy.yy table 42; ip route add default dev %i table 42;
PostDown = ip rule del from yy.yy.yy.yy table 42;
[Peer]
PublicKey = abcdefg
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = server-ip:port
xx.xx.xx.xx = client-IP im Wireguard VPN
yy.yy.yy.yy = IP des 2. Netzwerkadapters des Clients