Update on tuto3 subject
This commit is contained in:
parent
c20ed6630b
commit
5d8bcd55ce
@ -12,7 +12,7 @@ cmdline() {
|
|||||||
[ -f "/var/lib/adlin/wireguard/adlin.token" ] && WGTOKEN=$(cat /var/lib/adlin/wireguard/adlin.token)
|
[ -f "/var/lib/adlin/wireguard/adlin.token" ] && WGTOKEN=$(cat /var/lib/adlin/wireguard/adlin.token)
|
||||||
[ -z "${WGTOKEN}" ] && WGTOKEN=$(cmdline adlin.token)
|
[ -z "${WGTOKEN}" ] && WGTOKEN=$(cmdline adlin.token)
|
||||||
[ -z "${WGTOKEN}" ] && {
|
[ -z "${WGTOKEN}" ] && {
|
||||||
echo "You didn't define your token to connect the network. Please run here `join-maatma` and then reboot."
|
echo "You didn't define your token to connect the network. Please run here \`join-maatma\` and then reboot."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
[ -f "/var/lib/adlin/wireguard/adlin.conf" ] && WGPRVKEY=$(sed 's/^.*PrivateKey *= *//p;d' /var/lib/adlin/wireguard/adlin.conf)
|
[ -f "/var/lib/adlin/wireguard/adlin.conf" ] && WGPRVKEY=$(sed 's/^.*PrivateKey *= *//p;d' /var/lib/adlin/wireguard/adlin.conf)
|
||||||
|
@ -84,7 +84,7 @@ machines :
|
|||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
- `ssh root@news`
|
- `ssh root@news`
|
||||||
- `ssh root@matrix`
|
- `ssh root@matrix`
|
||||||
- `ssh root@www`
|
- `ssh root@web`
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -146,3 +146,8 @@ Vous pouvez aussi passer par l'interface de votre routeur pour ajouter une
|
|||||||
interface 'Wireguard VPN'. Utilisez les informations contenues sur la page
|
interface 'Wireguard VPN'. Utilisez les informations contenues sur la page
|
||||||
[Tunnels de Maatma](https://adlin.nemunai.re/maatma/tunnels) pour remplir les
|
[Tunnels de Maatma](https://adlin.nemunai.re/maatma/tunnels) pour remplir les
|
||||||
différents champs.
|
différents champs.
|
||||||
|
|
||||||
|
|
||||||
|
### `join-maatma` retourne une erreur 400
|
||||||
|
|
||||||
|
Vérifiez votre token, il n'est pas valide.
|
||||||
|
Reference in New Issue
Block a user