fix(zoro): better wireguard config
This commit is contained in:
parent
22763e69d1
commit
46eb72c8c2
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
nameservers = ["80.67.169.12" "2001:910:800::12" "80.67.169.40" "2001:910:800::40"];
|
nameservers = ["80.67.169.12" "2001:910:800::12" "80.67.169.40" "2001:910:800::40"];
|
||||||
wg-quick.interfaces = {
|
wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
address = [ "10.10.10.3/32" "fd42::2/128" ];
|
address = [ "10.42.0.3/32"];
|
||||||
dns = ["80.67.169.12" "2001:910:800::12" "80.67.169.40" "2001:910:800::40"];
|
dns = ["80.67.169.12" "2001:910:800::12" "80.67.169.40" "2001:910:800::40"];
|
||||||
privateKeyFile = "/etc/wireguard_private_key";
|
privateKeyFile = "/etc/wireguard_private_key";
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
{
|
{
|
||||||
publicKey = "2MZzEGJzA3HrwkHf91TaKJEHwCNyVvsTLWoIYHrCxhY=";
|
publicKey = "2MZzEGJzA3HrwkHf91TaKJEHwCNyVvsTLWoIYHrCxhY=";
|
||||||
presharedKeyFile = "/etc/wireguard_preshared_key";
|
presharedKeyFile = "/etc/wireguard_preshared_key";
|
||||||
allowedIPs = [ "0.0.0.0/0" "::/0" ];
|
allowedIPs = [ "10.10.10.0/24" ];
|
||||||
endpoint = "195.201.63.240:8098";
|
endpoint = "195.201.63.240:8098";
|
||||||
persistentKeepalive = 15;
|
persistentKeepalive = 15;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue