Skip to content

Commit e56ea0d

Browse files
committed
restrict the outgoing traffic
1 parent 146e178 commit e56ea0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmds/modules/netlightd/nft/rules.nft

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ table inet filter {
88
}
99

1010
chain output {
11-
type filter hook output priority filter; policy accept;
11+
type filter hook output priority filter; policy drop;
12+
ip daddr 192.168.1.1 accept # the router ip
1213
}
1314

1415
chain prerouting {

0 commit comments

Comments
 (0)