🧑💻 [pi4] Allow all traffic from local network
This commit is contained in:
@ -12,8 +12,7 @@
|
|||||||
localIPv4Range = "192.168.10.0/24";
|
localIPv4Range = "192.168.10.0/24";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
ip saddr ${localIPv4Range} tcp dport 22 accept
|
ip saddr ${localIPv4Range} accept
|
||||||
ip saddr ${localIPv4Range} udp dport 22 accept
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
nftables.enable = true;
|
nftables.enable = true;
|
||||||
|
Reference in New Issue
Block a user