mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-12 00:23:07 +00:00
~
This commit is contained in:
parent
747ee75ecd
commit
50e9bafbf0
8 changed files with 34 additions and 134 deletions
|
@ -37,6 +37,7 @@ in with lib; {
|
|||
|
||||
networking.firewall = mkIf cfg.openFirewall {
|
||||
allowedTCPPorts = [ 53 cfg.listenPortHTTP cfg.listenPortHTTPS ];
|
||||
allowedUDPPorts = [ 53 67 ];
|
||||
};
|
||||
}
|
||||
]);
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
ports = [
|
||||
"53:53/tcp"
|
||||
"53:53/udp"
|
||||
"67:67/udp"
|
||||
"80:80/tcp"
|
||||
"443:443/tcp"
|
||||
];
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
# Default HTTPs Port. FTL will generate a self-signed certificate
|
||||
- "443:443/tcp"
|
||||
# Uncomment the line below if you are using Pi-hole as your DHCP server
|
||||
#- "67:67/udp"
|
||||
- "67:67/udp"
|
||||
# Uncomment the line below if you are using Pi-hole as your NTP server
|
||||
#- "123:123/udp"
|
||||
environment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue