aboutsummaryrefslogtreecommitdiffstats
path: root/community/waydroid/51_waydroid.nft
diff options
context:
space:
mode:
Diffstat (limited to 'community/waydroid/51_waydroid.nft')
-rw-r--r--community/waydroid/51_waydroid.nft11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/waydroid/51_waydroid.nft b/community/waydroid/51_waydroid.nft
new file mode 100644
index 00000000000..69fd45e5a2e
--- /dev/null
+++ b/community/waydroid/51_waydroid.nft
@@ -0,0 +1,11 @@
+#!/usr/sbin/nft -f
+table inet filter {
+ chain input {
+ iifname "waydroid0" accept comment "Allow incoming network traffic from WayDroid"
+ }
+ chain forward {
+ iifname "waydroid0" accept comment "Allow outgoing network traffic from WayDroid"
+ ct state {established, related} counter accept comment "accept established connections"
+ }
+}
+