add iodine scratch

This commit is contained in:
Ingolf Wagner 2020-01-31 15:16:05 +13:00
parent 26e57030ee
commit e3d8d8b44f
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

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";}
#];
}