2021-06-23 17:40:46 +00:00
|
|
|
#!/usr/sbin/nft -f
|
|
|
|
table inet filter {
|
|
|
|
chain input {
|
2021-06-24 23:04:05 +00:00
|
|
|
iifname "anbox*" accept comment "Allow incoming network traffic from Anbox"
|
2021-06-23 17:40:46 +00:00
|
|
|
}
|
|
|
|
chain forward {
|
2021-06-24 23:04:05 +00:00
|
|
|
iifname "anbox*" accept comment "Allow outgoing network traffic from Anbox"
|
2021-06-23 17:40:46 +00:00
|
|
|
ct state {established, related} counter accept comment "accept established connections"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|