🔧 add wireguard device
This commit is contained in:
parent
361497a6e6
commit
1a9c1f4913
2 changed files with 7 additions and 2 deletions
|
@ -65,6 +65,11 @@ in
|
||||||
publicKey = "8f8fYGymH3Tq8d14B2+ijMiHwocEbUIXSZji3U29IhA=";
|
publicKey = "8f8fYGymH3Tq8d14B2+ijMiHwocEbUIXSZji3U29IhA=";
|
||||||
allowedIPs = [ "10.100.0.103/32" ];
|
allowedIPs = [ "10.100.0.103/32" ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
# ipad tina
|
||||||
|
publicKey = "kuzUJn+lROh7ttA0qMc2p1abpfxjDGeYA+Ryzm88+AE=";
|
||||||
|
allowedIPs = [ "10.100.0.104/32" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#
|
#
|
||||||
# Create a new wireguard client
|
# Create a new wireguard client
|
||||||
|
|
||||||
client_name="iphone tina"
|
client_name="ipad tina"
|
||||||
client_ip=10.100.0.103
|
client_ip=10.100.0.104
|
||||||
private_key=$(wg genkey)
|
private_key=$(wg genkey)
|
||||||
public_key=$(echo "$private_key" | wg pubkey)
|
public_key=$(echo "$private_key" | wg pubkey)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue