
Alle Computer können sich über Avahi oder IP-Adresse miteinander verbinden host.local
. Sobald ich jedoch den Wireguard-Dienst/die Wireguard-Konfiguration auf dem Raspberry starte, wird dieser von meinem internen Netzwerk getrennt.
Mein Netzwerk ist ziemlich standardmäßig, mit IPs in diesem 192.168.1.*
Bereich.
Was muss ich tun?
Meine Konfiguration:
[Interface]
PrivateKey = xxxxx
Address = 10.xxxxx/32,fc00:xxxxxx/128
DNS = 193.xxxxxxx
PostUp = iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
[Peer]
PublicKey = xxxxx
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = xxxxx:51820