Das habe ich nun auf dem Server geändert.....
root@S*****:~# nano /etc/wireguard/wg0.conf
[Interface]
PrivateKey = *****
Address = 10.6.0.1/24, 192.168.177.0/24, 192.168.178.0/24
ListenPort = 51820
### begin a***** ###
[Peer]
PublicKey = *****
PresharedKey = *****
AllowedIPs = 10.6.0.2/32, 192.168.177.0/24, 192.168.178.0/24
### end a***** ###
### begin b***** ###
[Peer]
PublicKey = *****
PresharedKey = *****
AllowedIPs = 10.6.0.3/32, 192.168.177.0/24, 192.168.178.0/24
### end b***** ###
### begin p***** ###
[Peer]
PublicKey = *****
PresharedKey = *****
AllowedIPs = 10.6.0.4/32, 192.168.177.0/24, 192.168.178.0/24
### end p***** ###
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
und das ist mal ein Client (Windows Rechner)
[Interface]
PrivateKey = *****
Address = 10.6.0.3/24
DNS = 10.6.0.1
[Peer]
PublicKey = *****
PresharedKey = *****
AllowedIPs = 10.6.0.0/24, 192.168.177.0/24, 192.168.178.0/24
Endpoint = 37.24.210.99:51820
IPV6 benötige ich nicht