Skip to content

Commit

Permalink
add allowSameSubnetTraffic docs
Browse files Browse the repository at this point in the history
Signed-off-by: yuanliu <yuanliu_yewu@cmss.chinamobile.com>
  • Loading branch information
lynn901 committed Oct 25, 2023
1 parent f2170d9 commit c406ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/subnet.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ kind: Subnet
metadata:
name: acl
spec:
allowSameSubnetTraffic: false
acls:
- action: drop
direction: to-lport
Expand All @@ -255,6 +256,7 @@ spec:
priority: 1002
cidrBlock: 10.10.0.0/24
```
In some scenarios, users hope that the internal traffic of the subnet configured with ACL rules will not be affected, which can be achieved by configuring `allowSameSubnetTraffic: true`.

## Subnet Isolation

Expand Down
3 changes: 3 additions & 0 deletions docs/guide/subnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ kind: Subnet
metadata:
name: acl
spec:
allowSameSubnetTraffic: false
acls:
- action: drop
direction: to-lport
Expand All @@ -244,6 +245,8 @@ spec:
cidrBlock: 10.10.0.0/24
```

某些场景下用户希望配置了 ACL 规则的子网内部网络通信不受影响,可以通过配置 `allowSameSubnetTraffic: true` 来实现。

## 子网隔离设置

> 子网 ACL 的功能可以覆盖子网隔离的功能,并有更好的灵活性,我们推荐使用子网 ACL 来做相应的配置。
Expand Down

0 comments on commit c406ad8

Please sign in to comment.