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