add some documentation

This commit is contained in:
Ingolf Wagner 2024-06-06 10:35:20 +02:00
parent d845e2e729
commit 1c302c0cf9
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -24,24 +24,31 @@ in
${pkgs.iptables}/bin/iptables -D FORWARD -i wg0 -j ACCEPT
'';
# clients
peers = [
# server
# ------
# start at 1
{
# chungus
publicKey = publicKey "chungus";
allowedIPs = [ "10.100.0.2/32" ];
}
# desktops
# --------
# start at 10
{
# cream
publicKey = publicKey "cream";
allowedIPs = [ "10.100.0.6/32" ];
allowedIPs = [ "10.100.0.6/32" ]; # todo : change ip
}
{
# cherry
publicKey = publicKey "cherry";
allowedIPs = [ "10.100.0.7/32" ];
allowedIPs = [ "10.100.0.7/32" ]; # todo : change ip
}
# mobil devices start with 100
# mobild devices
# --------------
# start at 100
{
# iphone palo
publicKey = "ICeZLWYzF+nTffMV0+8yfW1WJsUQNhNbKQ4rRbn5hDs=";