infra/vars.nix

46 lines
1.2 KiB
Nix
Raw Permalink Normal View History

{
ovenNat = {
oven = { address = "10.0.42.1"; prefixLength = 24; };
pastila = { address = "10.0.42.100"; prefixLength = 24; };
# ports to open on pastila and forward through the NAT in oven
forwardPorts = [
{ num = 80; proto = "tcp"; }
2024-06-01 10:53:00 +00:00
{ num = 443; proto = "tcp"; }
{ num = 22; proto = "tcp"; }
2024-06-01 18:53:10 +00:00
# XMPP
{ num = 5222; proto = "tcp"; }
{ num = 5222; proto = "udp"; }
{ num = 5269; proto = "tcp"; }
{ num = 5269; proto = "udp"; }
# Prosody HTTP
{ num = 5280; proto = "tcp"; }
{ num = 5281; proto = "tcp"; }
# Prosody proxy65
{ num = 5000; proto = "tcp"; }
2024-06-01 23:13:57 +00:00
# DHT
{ num = 6881; proto = "udp"; }
# transmission
{ num = 51413; proto = "tcp"; }
{ num = 51413; proto = "udp"; }
2024-06-02 19:46:55 +00:00
# mosh
# see ad-hoc config in oven/configuration.nix
# (60000:61000)
2024-06-14 18:59:24 +00:00
# Headscale RPC
{ num = 50443; proto = "tcp"; }
2024-06-21 13:53:22 +00:00
# SMTP
{ num = 25; proto = "tcp"; }
{ num = 465; proto = "tcp"; }
{ num = 587; proto = "tcp"; }
# IMAP
{ num = 143; proto = "tcp"; }
{ num = 993; proto = "tcp"; }
];
};
2024-06-14 18:59:24 +00:00
onlineNetDNS = [
"51.159.47.28"
"51.159.47.26"
];
}