update secrets example
This commit is contained in:
parent
c5821ed8e3
commit
f8a3c3d6ce
1 changed files with 16 additions and 1 deletions
|
@ -1,9 +1,23 @@
|
||||||
{
|
{
|
||||||
|
wireguard_config = {
|
||||||
|
peers = {
|
||||||
|
Proxy = {
|
||||||
|
name = "Proxy";
|
||||||
|
endpoint = "<ip:port>";
|
||||||
|
publicKey = "<peer public key>";
|
||||||
|
persistentKeepalive = 20;
|
||||||
|
allowedIPs = [
|
||||||
|
"x.x.x.x/xx"
|
||||||
|
"xxxx::/xx"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
aria2_config = {
|
aria2_config = {
|
||||||
rpc_secret = "<rpc secret for aria2>";
|
rpc_secret = "<rpc secret for aria2>";
|
||||||
};
|
};
|
||||||
frp_config = {
|
frp_config = {
|
||||||
ip = "<ip addess of server running frps>";
|
server_addr = "<ip addess of server running frps>";
|
||||||
token = "<secret token for frps <-> frpc connection>";
|
token = "<secret token for frps <-> frpc connection>";
|
||||||
};
|
};
|
||||||
caddy_config = {
|
caddy_config = {
|
||||||
|
@ -20,4 +34,5 @@
|
||||||
sshPublicKey = "<ssh public key>";
|
sshPublicKey = "<ssh public key>";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
phone.sshPublicKey = "<ssh public key from phone>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue