mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 09:48:30 +02:00
refactor: aquamarine - enable tailscale
This commit is contained in:
20
modules/nixos/base/networking/firewall.nix
Normal file
20
modules/nixos/base/networking/firewall.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
# for security reasons, only open the following ports to the network by default.
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
# localsend
|
||||
53317
|
||||
|
||||
# tcp ports for testing & sharing
|
||||
63080
|
||||
63081
|
||||
63082
|
||||
63083
|
||||
63084
|
||||
63085
|
||||
63086
|
||||
63087
|
||||
63088
|
||||
63089
|
||||
];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
}
|
||||
Reference in New Issue
Block a user