Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng d3c201d200
Remove Fernando placeholder public key 2021-03-19 09:55:02 +01:00
coolneng 03783c6017
Remove Wireguard NAT forwarding 2021-03-19 09:54:36 +01:00
1 changed files with 0 additions and 10 deletions

View File

@ -44,9 +44,6 @@
138 # Samba 138 # Samba
1194 # Wireguard 1194 # Wireguard
]; ];
extraCommands = ''
iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o eth0 -j MASQUERADE
'';
}; };
# Enable NAT for wireguard # Enable NAT for wireguard
@ -65,16 +62,9 @@
peers = [ peers = [
# Amin # Amin
{ {
# Placeholder public key
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38="; publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.2/32" ]; allowedIPs = [ "10.9.0.2/32" ];
} }
# Fernando
{
# Placeholder public key
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.3/32" ];
}
]; ];
}; };
}; };