summaryrefslogtreecommitdiff
path: root/hosts/ahmed/torrenting/wireguard.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-12-16 01:25:15 +0100
committerLinnnus <[email protected]>2024-12-17 21:55:31 +0100
commit844365fa3ec5afb2e71dcf7660bc438adda3235d (patch)
tree52e7ce7c3638ce2855035731bc661aaf9e001407 /hosts/ahmed/torrenting/wireguard.nix
parent3810abf6b93e16a351615be43e2f4a0631ff61bf (diff)
ahmed: Switch torrenting to new VPN configuration
Diffstat (limited to 'hosts/ahmed/torrenting/wireguard.nix')
-rw-r--r--hosts/ahmed/torrenting/wireguard.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/ahmed/torrenting/wireguard.nix b/hosts/ahmed/torrenting/wireguard.nix
index af21848..66122a5 100644
--- a/hosts/ahmed/torrenting/wireguard.nix
+++ b/hosts/ahmed/torrenting/wireguard.nix
@@ -9,7 +9,7 @@ in {
networking.wireguard.interfaces = {
${wgInterface} = {
# The port to use for communication. This should also be opened in the firewall.
- ips = ["10.70.101.133/32" "fc00:bbbb:bbbb:bb01::7:6584/128"];
+ ips = ["10.2.0.2/32"];
privateKeyFile = config.age.secrets.mullvad-wg-key.path;
allowedIPsAsRoutes = false;
listenPort = wgPort;
@@ -40,10 +40,10 @@ in {
peers = [
{
# The public key of the server.
- publicKey = "/iivwlyqWqxQ0BVWmJRhcXIFdJeo0WbHQ/hZwuXaN3g=";
+ publicKey = "9WowgFUh2itRfPh2SoaJsJHvxzXBZuD+xqdmBAf2CB4=";
# The location of the server.
- endpoint = "193.32.127.66:${toString wgPort}";
+ endpoint = "149.50.217.161:${toString wgPort}";
# Which destination IPs should be directed to this ip/pubkey pair. In
# this case, we send all packets to our only peer.