mediaserver: wireguard wip
This commit is contained in:
parent
4aab4118c8
commit
7ef694d3ed
8 changed files with 64 additions and 247 deletions
|
@ -8,12 +8,8 @@
|
||||||
file = ./tailscale/authkey.age;
|
file = ./tailscale/authkey.age;
|
||||||
};
|
};
|
||||||
|
|
||||||
openvpn-auth-pp = {
|
wireguard-config = {
|
||||||
file = ./openvpn/authPP.age;
|
file = ./wireguard/config.age;
|
||||||
};
|
|
||||||
|
|
||||||
openvpn-pp-nbg = {
|
|
||||||
file = ./openvpn/pp-nbg.age;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
-----BEGIN AGE ENCRYPTED FILE-----
|
|
||||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBQcHVm
|
|
||||||
c0FBNjlaaXk0NDlvRjB1NnExUFNaOWJEVTJXTlhoenpxK2YrdmowClEraklSSFpX
|
|
||||||
T1NUb05uZ2FRUUdoL0VTalpLd054cW04UHl4Ykk1bWdlSlkKLT4gc3NoLWVkMjU1
|
|
||||||
MTkgWTk0WWlnIENzNWRvdjduclpNMW1nY2ZvWlFTTlUrWFlGcXB5NmM1ZjZGbTRY
|
|
||||||
ZitiRm8KM0lldTMyWVViNmlaaGwwK2EwMmoxU3g4dGJ4QXdxWDNycjRTTkFYZXhs
|
|
||||||
awotPiArdCs8TkItZ3JlYXNlIFJJIHJZYWE+IEggR1U6ekwKak5QKzFRSno5M3pJ
|
|
||||||
ZXVIWnBYYUQzWnBMQTF4bENDZ05MaEpmWUJwMG1iaUkzUmd2TC9sMnJxZGlBYzc3
|
|
||||||
bzJJYgp3Z3VwdjA5dHBQdU4wZUYxCi0tLSAwdGZVVThaanpJQmVoVGRoYlkvT1hJ
|
|
||||||
WlEvRnFpSDBnUDNGczU0bVdpVlZ3CgsallSkWhfgvsFl3ao/xNihPSHf6I4aJZsS
|
|
||||||
rE5knFj6RAmjH8Kn+y+RR79UIFYon4SSRW5tXMA=
|
|
||||||
-----END AGE ENCRYPTED FILE-----
|
|
|
@ -1,212 +0,0 @@
|
||||||
-----BEGIN AGE ENCRYPTED FILE-----
|
|
||||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBTdlpK
|
|
||||||
eUpKb0t2WWVDVEhvWjFXaFY4VTBSamRnT00xT3lFSmNsanMzczNZCmpoSlg5cGdR
|
|
||||||
OUFsZ1pzdGVLckJUUS9wZlk5Q2lQTzFKNTg2WXRHaGhSWjAKLT4gc3NoLWVkMjU1
|
|
||||||
MTkgWTk0WWlnIC9nZFpWblF3YnF3bXhJd28yRndlTElVZlJDcTdyUHBqMlgxemt2
|
|
||||||
ckFtVncKRVNkcEVGREQ0RVVEMWFyaUpSaEltMEdLK0UrNkMyZHNYSm9HcDllTUR2
|
|
||||||
ZwotPiBAP2teJC1ncmVhc2UKNFQraStYT293cnBHdjRYSS9RMWlqNFdlNmJ2ZXhB
|
|
||||||
dlFCc21tZnR3WThVTDM4NDRWY2NVUlZqTjVaSzdCTzRXMwprd1EwRFdKd0djSzBE
|
|
||||||
SkFzT1piaExuQnZsTmh6clFuRXZYU3dvSUZPRUEKLS0tIEVhQ1lsWUtQWHRPbFdN
|
|
||||||
VHNYdWhFdmZBcGp2SDNTRmhpWUFNT2FIOWRwVTAKnUMAjkjUrl9LDONiLUb4VZ38
|
|
||||||
w+a1klDiiZceyP521DRZzysoYHzs92QL7RMktnPGggRXOOjs7o46rTmeOxPHHYhj
|
|
||||||
RcPupTpZTD4RLOV1SFGWQ/yd5rn+kA6Rf3+Ex5G2M3umLFOtGVCUToQaS6ij+K9C
|
|
||||||
hn4wCbk96rSrgMQDy7G7eBRJCU15LYG5vTr/RfyowUSZqvGFOz4vJOIZhP/g810K
|
|
||||||
8MEXpSZa7yup60KLnygOMq+IRh4G2GJFV3FjPNwrTmjr+/6m32g6HOAyE/Wep/6X
|
|
||||||
8N4eLWUvuIKC4KEjoigMWdvqWGlljNP7FimJWLnm28AIq7N+tvPST5eb4LKtLPVj
|
|
||||||
4f3E7HaDcUM/jF1d2JRYBrZzfqPmYdjYh7xXekwWj7EEXsqHjITJgLTSEsQvl/Qz
|
|
||||||
0+NIMc16VOhqdInEE4t+140OJ82yCibHuuff3z6gPUopzYSXKz+1T6+uHshrVZuX
|
|
||||||
5Frzq6PrS45LML8GYg6s0zwusXjADMEX4K9PFNInsW7ubFmuUcTOaA+8hGpviDmx
|
|
||||||
7g//CyP+hHnt07U/FjSUEudl33gFL249cM0MpSv6faptsGNp82+7rgiPmCXvlDu8
|
|
||||||
rnHW+ftZq65IwboY4cAgym0B1umafMdtWQon3a+cQcFgBN3LX8Qcxx9v3LinLfFu
|
|
||||||
1K2e9WzSF4KvgagzPnSLI005N5nwYw9XDfihn5Cpp9EipQKwYbseOOCqSSLoMH1j
|
|
||||||
f1oeQ9VPkfXUtFs5pDwSpGqVduxyEa/No2GtXi3m8AN8E8WnF6XdDXJygLEhefzS
|
|
||||||
1lrnIgOEF08RRMv1DToVEnEJAhVWhX5plHBlmgeVdV0prulwBBXsyTymBw6tgdj0
|
|
||||||
7NDQxEyasX1+as2R+vk9PISiEszkcSQ2EKIQcl1ezAiYx4x2an6IZRl448rOeF3E
|
|
||||||
nPzCfYSpKNZRMERW/lQvLIqQNjS4pGhZ3cdetcj2+NJIDPCYYqIJfHh8ybUHRaJl
|
|
||||||
baHovMc+sGsipJGVL/710ivyadNuwSfdBfENBazxPnm17OeZou0q+QNyn1SadxdG
|
|
||||||
EF/B6uDokRYm5uR8p/dAb914qPvjaTeQ9rZk08gg+rOGNvbEG92PeO0i5yo/inF/
|
|
||||||
MsSjJcfpEfS+Al2bGXu2CN6N+807neO8vhuYL4N5gNcLZln84KfC0Yl4AfxsU6Uk
|
|
||||||
QmmpuoZCB3Ylkqxx96jhsAnygpamwhu8H6eLxceNpDgbK8HGE8pDc7Wz5Wzg2e3/
|
|
||||||
0K1YC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6DD591DUpTvD9zWOOniVRoweoSafx5gZyAMSDTdVoIt8EKxa
|
|
||||||
LxCL8r7gF4HNoss0FszKPZg+2UR5gxw4L1muhuMCarpR+mF2JLaSws7VkGmizWHX
|
|
||||||
wujF2OIE8Dnd/tCKGYfx9g2/9sdr46v52WSFNBaQ8Ew4LpWxrwr0XhTNAYrOaW7B
|
|
||||||
+gsuKwocI1fBSSrP0mpDV5zsLc1x8hyFm9g4H6daFGVua2JPh/K6c1U9Svf1eNj1
|
|
||||||
mlR0l5g5cpJmy6dwQJS7r730LxTr5TS4TlHFXsZh64Qcniisics5xRuzuasEQNhN
|
|
||||||
Z8EXklSkl4gWq5VK11KjDyiQkiIVtFVIeQRatks1GRLIJEJiSQDAlp66J5tFKg7R
|
|
||||||
5GA85bkMtuzwGGRkuxgGM0KwCPhO83mRQlRibl9kb/uXZLHj
|
|
||||||
-----END AGE ENCRYPTED FILE-----
|
|
16
agenix/hosts/mediaserver/wireguard/config.age
Normal file
16
agenix/hosts/mediaserver/wireguard/config.age
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE10R3A2ZyBNZk53
|
||||||
|
S0w4QnRTZXhlTUQ1MXBRWk0xRlBrT1c4N2diWTZ1YjNCL3dYWjBrCkdkMWlXcXNp
|
||||||
|
Qmo2TGtMNkU0RjFxNjdKNmlLTDg5S0F4dGJZUnVHbW81am8KLT4gc3NoLWVkMjU1
|
||||||
|
MTkgWTk0WWlnIFF6OXd3dzZGaFJvZzJMNG1FN2tFc2wrUnBLY1pVR1F0TGNPZ1hF
|
||||||
|
d0VUQlUKOHAva1I2Z3BZOVkzSDdmMHZ1c3daTCt4TzAwbHRoSW1ScStDT3YwUmtE
|
||||||
|
dwotPiAqXFFaZi1ncmVhc2UgLT1MdgpnWkRCNlZaZmNzTWRQNUwzLyttZEhyeHBD
|
||||||
|
UQotLS0gYVB2SU1HTkVFYXRwZEJWUHVxL0JvVzRQOW9MaHdSSWhFTzhnVktnK1hW
|
||||||
|
OArFzvEULm92QAP7rzpoD/YBu4a5iDrKzVtFEYVIxf7CncBiO9L6Fb/1jjj9hjXw
|
||||||
|
r2fFC5/Mt+5A3/Kw+s/wfLDIjs2x1k1Rw1hHPZAeRdhyeALDJdy1L2GWLLSfuKhq
|
||||||
|
OceSSMhRsc72vo1pbVARD/6eOosyhmHzAX21O7TULh3O1pUIag18jBIh37nC8sn0
|
||||||
|
a5/EX1Nj34oMSIB4gYeGTDTjl5ygNXOvFCIMZ0K1RCKClb17cmkSDWgg6vrzbo8k
|
||||||
|
Ekm2plBkpeTw+9YenkZyWcJ+Kdpauyy3fvwmE+X7fHG2Xig3gRF7lv62wjj+HLew
|
||||||
|
KqvGM5ZqcKu+kBK+VLj3xd7nIrrBiwXblJ2g2TxxuyORE+dcfkjmye1tVncWcOZJ
|
||||||
|
NAUGxQWhNkFA1g40gM8M
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
|
@ -60,6 +60,5 @@ in
|
||||||
|
|
||||||
"agenix/hosts/mediaserver/tailscale/authkey.age".publicKeys = mediaserver;
|
"agenix/hosts/mediaserver/tailscale/authkey.age".publicKeys = mediaserver;
|
||||||
|
|
||||||
"agenix/hosts/mediaserver/openvpn/authPP.age".publicKeys = mediaserver;
|
"agenix/hosts/mediaserver/wireguard/config.age".publicKeys = mediaserver;
|
||||||
"agenix/hosts/mediaserver/openvpn/pp-nbg.age".publicKeys = mediaserver;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,8 @@ in
|
||||||
../nixos/attic.nix
|
../nixos/attic.nix
|
||||||
|
|
||||||
../nixos/tailscale.nix
|
../nixos/tailscale.nix
|
||||||
|
|
||||||
|
../nixos/wireguard-netns.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
@ -69,8 +71,6 @@ in
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ wireguard-tools ];
|
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{ config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
services.openvpn.servers = {
|
|
||||||
pp = {
|
|
||||||
config = ''
|
|
||||||
auth-user-pass ${config.age.secrets.openvpn-auth-pp.path}
|
|
||||||
config ${config.age.secrets.openvpn-pp-nbg.path}
|
|
||||||
'';
|
|
||||||
updateResolvConf = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
43
system/nixos/wireguard-netns.nix
Normal file
43
system/nixos/wireguard-netns.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [ wireguard-tools ];
|
||||||
|
|
||||||
|
systemd.services."netns@" = {
|
||||||
|
description = "%I network namespace";
|
||||||
|
before = [ "network.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
ExecStart = "${pkgs.iproute}/bin/ip netns add %I";
|
||||||
|
ExecStop = "${pkgs.iproute}/bin/ip netns del %I";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.wg = {
|
||||||
|
description = "wg network interface";
|
||||||
|
bindsTo = [ "netns@wg.service" ];
|
||||||
|
requires = [ "network-online.target" ];
|
||||||
|
after = [ "netns@wg.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
ExecStart = with pkgs; writers.writeBash "wg-up" ''
|
||||||
|
set -e
|
||||||
|
${iproute}/bin/ip link add wg0 type wireguard
|
||||||
|
${wireguard-tools}/bin/wg setconf wg0 ${config.age.secrets.wireguard-config.path}
|
||||||
|
${iproute}/bin/ip link set wg0 netns wg
|
||||||
|
${iproute}/bin/ip -n wg address add 10.66.10.158/32 dev wg0
|
||||||
|
${iproute}/bin/ip -n wg -6 address add fc00:bbbb:bbbb:bb01::3:a9d/128 dev wg0
|
||||||
|
${iproute}/bin/ip -n wg link set wg0 up
|
||||||
|
${iproute}/bin/ip -n wg route add default dev wg0
|
||||||
|
${iproute}/bin/ip -n wg -6 route add default dev wg0
|
||||||
|
'';
|
||||||
|
ExecStop = with pkgs; writers.writeBash "wg-down" ''
|
||||||
|
${iproute}/bin/ip -n wg route del default dev wg0
|
||||||
|
${iproute}/bin/ip -n wg -6 route del default dev wg0
|
||||||
|
${iproute}/bin/ip -n wg link del wg0
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue