Skip to content

Commit

Permalink
restrict the outgoing traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Sep 10, 2024
1 parent 146e178 commit e56ea0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmds/modules/netlightd/nft/rules.nft
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ table inet filter {
}

chain output {
type filter hook output priority filter; policy accept;
type filter hook output priority filter; policy drop;
ip daddr 192.168.1.1 accept # the router ip
}

chain prerouting {
Expand Down

0 comments on commit e56ea0d

Please sign in to comment.