wink: add nat and coredns to container

This should let it talk to the outside network (i.e. the internet), and
thereby enable the oauth2-proxy to redeem codes to authenticate clients.
This commit is contained in:
stuebinm 2021-03-21 02:45:31 +01:00
parent 3b99506f3b
commit 432acb31e9
No known key found for this signature in database
GPG key ID: 8FBE8AAD32FA12B7

View file

@ -64,7 +64,14 @@
}; };
}; };
services.coredns = {
enable = true;
config = ''
.:53 {
forward . 1.1.1.1
}
'';
};
}; };
}; };
@ -75,6 +82,9 @@
enableACME = true; enableACME = true;
}; };
networking.nat.enable = true;
networking.nat.internalInterfaces = ["ve-wink"];
networking.nat.externalInterface = "enp6s0";
} }