✨ wireguard add ipv6, even though it does not seem to work
This commit is contained in:
parent
08d138ca0a
commit
073c1cb388
|
@ -10,17 +10,17 @@
|
|||
|
||||
wireguard.interfaces = {
|
||||
wg0 = {
|
||||
ips = [ "10.0.0.1/24" ];
|
||||
ips = [ "10.0.0.1/24" "fd02:002:002::1/64" ];
|
||||
listenPort = 5553;
|
||||
privateKeyFile = "/root/wg-private";
|
||||
peers = [
|
||||
{ # pixel
|
||||
publicKey = "HS2q+PpPPwxqT1jCD7D4puqr4ZyaXV5TostavlYWBx0=";
|
||||
allowedIPs = [ "10.0.0.2/32" ];
|
||||
allowedIPs = [ "10.0.0.2/32" "fd02:002:002::2/64" ];
|
||||
}
|
||||
{ # neodymium
|
||||
publicKey = "IFeRvelEilNRLkhWgFKL9HrJ9XYsm+r4yvv23CigETk=";
|
||||
allowedIPs = [ "10.0.0.3/32" ];
|
||||
allowedIPs = [ "10.0.0.3/32" "fd02:002:002::3/64" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
networking.wg-quick.interfaces = {
|
||||
wg0 = {
|
||||
privateKeyFile = "/root/wireguard-keys/private";
|
||||
address = [ "10.0.0.3/24" ];
|
||||
address = [ "10.0.0.3/24" "fd02:002:002::3/64" ];
|
||||
dns = [ "10.0.0.1" ];
|
||||
peers = [{
|
||||
publicKey = "y36/EpLUerwM6NSGsVDCkb37Wj/Z3CI0mPFGatVa0Ws=";
|
||||
|
|
Loading…
Reference in a new issue