add iodine scratch
This commit is contained in:
parent
26e57030ee
commit
e3d8d8b44f
1 changed files with 19 additions and 0 deletions
19
configs/sputnik/iodined.nix
Normal file
19
configs/sputnik/iodined.nix
Normal 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";}
|
||||||
|
#];
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue