diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2021-05-14 10:44:09 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2021-05-14 10:44:09 -0600 |
commit | 98612531a9a15754479cb50edb8302f783b2c1fb (patch) | |
tree | c3a2545d4ffe6a7763187b07e28e7ba1e0c32cec /daeva/nftables-rules.nft | |
parent | 45945464319e81a70dbed35ca20f26c1643a7079 (diff) | |
download | cfg.nix-98612531a9a15754479cb50edb8302f783b2c1fb.tar.gz cfg.nix-98612531a9a15754479cb50edb8302f783b2c1fb.tar.xz |
firewall: enable KDE connect ports
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'daeva/nftables-rules.nft')
-rw-r--r-- | daeva/nftables-rules.nft | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daeva/nftables-rules.nft b/daeva/nftables-rules.nft index e70f1cf..c821e5b 100644 --- a/daeva/nftables-rules.nft +++ b/daeva/nftables-rules.nft @@ -11,6 +11,8 @@ table inet filter { udp dport domain ip saddr 172.16.0.0/12 counter accept tcp dport 3000 ip saddr 127.0.0.1/8 counter accept tcp dport 8000 ip saddr 127.0.0.1/8 counter accept + tcp dport 1714-1764 ip saddr 10.0.0.0/8 counter accept comment "KDEConnect" + udp dport 1714-1764 ip saddr 10.0.0.0/8 counter accept comment "KDEConnect" tcp dport http-alt ip saddr { 127.0.0.1/8, 10.0.0.0/8 } counter accept counter } |