forked from hacc/haccfiles
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:
parent
9ca65bd37d
commit
f1bd105afa
1 changed files with 11 additions and 1 deletions
|
@ -64,7 +64,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
services.coredns = {
|
||||
enable = true;
|
||||
config = ''
|
||||
.:53 {
|
||||
forward . 1.1.1.1
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -75,6 +82,9 @@
|
|||
enableACME = true;
|
||||
};
|
||||
|
||||
networking.nat.enable = true;
|
||||
networking.nat.internalInterfaces = ["ve-wink"];
|
||||
networking.nat.externalInterface = "enp6s0";
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue