add some documentation
This commit is contained in:
parent
d845e2e729
commit
1c302c0cf9
1 changed files with 11 additions and 4 deletions
|
@ -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=";
|
||||
|
|
Loading…
Reference in a new issue