data-hoarder: start moving from serv to flpk

This commit is contained in:
Astro 2022-09-18 22:26:18 +02:00
parent 491fcda4a9
commit f6dbd1b936
3 changed files with 12 additions and 11 deletions

View File

@ -7,6 +7,7 @@
hosts4 = {
flpk-gw = "45.158.40.161";
leon = "45.158.40.162";
data-hoarder = "45.158.40.163";
};
hosts6.flpk = {
flpk-gw = "2a0f:5382:acab:1400::c3d2";

View File

@ -72,7 +72,7 @@
hedgedoc = "172.20.73.66";
mediawiki = "172.20.73.67";
gnunet = "172.20.73.68";
data-hoarder = "172.20.73.69";
# unused = "172.20.73.69";
broker = "172.20.73.70";
ftp = "172.20.73.71";
auth = "172.20.73.72";
@ -149,7 +149,7 @@
hedgedoc = "2a00:8180:2c00:282::6";
mediawiki = "2a00:8180:2c00:282::43";
gnunet = "2a00:8180:2c00:282::44";
data-hoarder = "2a00:8180:2c00:282::45";
# unused = "2a00:8180:2c00:282::45";
broker = "2a00:8180:2c00:282::46";
ftp = "2a00:8180:2c00:282::47";
auth = "2a00:8180:2c00:282::48";

View File

@ -2,7 +2,7 @@
let
servHosts = config.site.net.serv.hosts4;
inherit (config.site.net.c3d2.hosts4) dn42;
inherit (config.site.net.flpk.hosts4) leon;
flpkHosts = config.site.net.flpk.hosts4;
in
{
site.hosts = {
@ -115,25 +115,25 @@ in
sourcePort = 64699;
}
{ #ssh
destination = "${leon}:22";
destination = "${flpkHosts.leon}:22";
proto = "tcp";
reflect = true;
sourcePort = 2223;
}
{ #Website
destination = "${leon}:5000";
destination = "${flpkHosts.leon}:5000";
proto = "tcp";
reflect = true;
sourcePort = 5001;
}
{ #VPN_Wireguard VPN1-interface
destination = "${leon}:18900";
destination = "${flpkHosts.leon}:18900";
proto = "udp";
reflect = true;
sourcePort = 18800;
}
{ #VPN_Wireguard VPN2-interface
destination = "${leon}:19900";
destination = "${flpkHosts.leon}:19900";
proto = "udp";
reflect = true;
sourcePort = 19800;
@ -281,25 +281,25 @@ in
}
# data-hoarder
{
destination = servHosts.data-hoarder;
destination = flpkHosts.data-hoarder;
proto = "udp";
reflect = true;
sourcePort = 51820;
}
{
destination = servHosts.data-hoarder;
destination = flpkHosts.data-hoarder;
proto = "tcp";
reflect = true;
sourcePort = 51820;
}
{
destination = "${servHosts.data-hoarder}:22";
destination = "${flpkHosts.data-hoarder}:22";
proto = "udp";
reflect = false;
sourcePort = 2269;
}
{
destination = "${servHosts.data-hoarder}:22";
destination = "${flpkHosts.data-hoarder}:22";
proto = "tcp";
reflect = false;
sourcePort = 2269;