Change wireguard's ip address

This commit is contained in:
coolneng 2020-06-10 01:19:20 +02:00
parent 48d592277e
commit 398a8378f1
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [