Comment on Help with iptables, using nixos setting up a wiregaurd server for friends
Steamymoomilk@sh.itjust.works 5 days agoso for example, setting 192.168.8.170 on the clients as the only allowed IP aswell as the server would do what i need? thanks for helping trying to navigate my labyrinth of networking :P
AceSLS@ani.social 4 days ago
No, AllowedIPs should be set to your internal Wireguards IPrange
Here’s an example of one of my client configs:
Just be careful to not mess up your subnet masks. For example my [Interface] Address ends with /32 because that only leaves 10.8.0.2 In the [Peer] Section i set it to /16 which will allow the client to connect to 10.8.x.x iirc