Nuke the fuck out of Wireguard slow as balls
This commit is contained in:
parent
491183aa7d
commit
7a56104845
36 changed files with 57 additions and 340 deletions
|
@ -1,15 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
networking.firewall.allowedUDPPorts = [ 27015 ];
|
||||
|
||||
systemd.network = {
|
||||
netdevs."10-wg0".wireguardPeers = [
|
||||
{ # Local server
|
||||
PublicKey = "qnOT/lXOJMaQgDUdXpyfGZB2IEyUouRje2m/bCe9ux8=";
|
||||
AllowedIPs = [ "11.0.0.0/8" ];
|
||||
Endpoint = "10.2.0.1:51820";
|
||||
}
|
||||
];
|
||||
networks."wg0".address = [ "11.0.0.100/8" ];
|
||||
networking = {
|
||||
firewall.allowedUDPPorts = [ 27015 ];
|
||||
vlans.internal = {
|
||||
id=100;
|
||||
interface="enp42s0";
|
||||
};
|
||||
interfaces.internal.ipv4.addresses = [{
|
||||
address = "11.0.0.100";
|
||||
prefixLength = 8;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue