Change wireguard's ip address
This commit is contained in:
parent
48d592277e
commit
398a8378f1
|
@ -19,7 +19,7 @@
|
||||||
# Wireguard setup
|
# Wireguard setup
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
address = [ "10.8.0.4/32" ];
|
address = [ "10.8.0.2/32" ];
|
||||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||||
dns = [ "198.100.148.224" "151.80.222.79" ];
|
dns = [ "198.100.148.224" "151.80.222.79" ];
|
||||||
peers = [
|
peers = [
|
||||||
|
|
Loading…
Reference in New Issue