Testing
This commit is contained in:
parent
e86c3276ae
commit
8a97166f5e
3 changed files with 15 additions and 14 deletions
nixos
|
@ -4,8 +4,7 @@
|
|||
networkmanager = {
|
||||
enable = true;
|
||||
logLevel = "INFO";
|
||||
};
|
||||
|
||||
};
|
||||
useDHCP = lib.mkDefault true;
|
||||
enableIPv6 = true;
|
||||
firewall = {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
"fs.inotify.max_user_watches" = 52428800;
|
||||
"fs.inotify.max_user_instances" = 4096;
|
||||
|
||||
# Testing...
|
||||
"net.core.netdev_max_backlog" = 4000;
|
||||
"net.ipv4.tcp_max_syn_backlog" = 4096;
|
||||
# Testing...
|
||||
# "net.core.netdev_max_backlog" = 4000;
|
||||
# "net.ipv4.tcp_max_syn_backlog" = 4096;
|
||||
};
|
||||
|
||||
# Allow Docker containers to access Tailscale network
|
||||
|
|
|
@ -2,16 +2,18 @@
|
|||
networking = {
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
53 # DNS
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
5696 # DSM-KMIP
|
||||
5697 # DSM-KMIP Backup
|
||||
8096 # Jellyfin
|
||||
];
|
||||
interfaces = {
|
||||
tailscale0= {
|
||||
eth0 = {
|
||||
allowedTCPPorts = [
|
||||
53 # DNS
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
5696 # DSM-KMIP
|
||||
5697 # DSM-KMIP Backup
|
||||
8096 # Jellyfin
|
||||
];
|
||||
};
|
||||
tailscale0 = {
|
||||
allowedTCPPorts = [
|
||||
53 # DNS
|
||||
80 # HTTP
|
||||
|
|
Loading…
Add table
Reference in a new issue