add iodine scratch

feature/hass
Ingolf Wagner 2020-01-31 15:16:05 +13:00
parent 26e57030ee
commit e3d8d8b44f
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ pkgs, config, ... }:
let
domain = "io.ingolf-wagner.de";
publicIp = "195.201.134.247";
pw = import <secrets/iodinepw.nix>;
in {
services.iodine.server = {
enable = true;
domain = domain;
ip = "172.16.10.1/24";
extraConfig = "-c -P ${pw} -l ${publicIp}";
};
#krebs.iptables.tables.filter.INPUT.rules = [
#{ predicate = "-p udp --dport 53"; target = "ACCEPT";}
#];
}