Set firewall rules.
This commit is contained in:
parent
71934ea2a5
commit
440aca54c7
1 changed files with 15 additions and 4 deletions
|
@ -30,10 +30,20 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "router";
|
hostName = "router";
|
||||||
hostId = "91312b0b";
|
hostId = "91312b0b";
|
||||||
firewall.allowedTCPPorts = [
|
firewall = {
|
||||||
80
|
interfaces.lan = {
|
||||||
443
|
allowedUDPPorts = [
|
||||||
];
|
53
|
||||||
|
67
|
||||||
|
];
|
||||||
|
allowedTCPPorts = [
|
||||||
|
53
|
||||||
|
67
|
||||||
|
80
|
||||||
|
443
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
bridges = {
|
bridges = {
|
||||||
lan = {
|
lan = {
|
||||||
|
@ -98,6 +108,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."router.tailc50184.ts.net".extraConfig = ''
|
virtualHosts."router.tailc50184.ts.net".extraConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue