Skip to content

Commit

Permalink
add allowSameSubnetTraffic docs (#132)
Browse files Browse the repository at this point in the history
Signed-off-by: yuanliu <[email protected]>
  • Loading branch information
lynn901 authored Oct 31, 2023
1 parent bb2a18f commit 9e7d749
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 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:
allowEWTraffic: false
acls:
- action: drop
direction: to-lport
Expand All @@ -256,6 +257,8 @@ spec:
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 `allowEWTraffic: true`.

## Subnet Isolation

> The function of Subnet ACL can cover the function of Subnet isolation with better flexibility,
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:
allowEWTraffic: false
acls:
- action: drop
direction: to-lport
Expand All @@ -244,6 +245,8 @@ spec:
cidrBlock: 10.10.0.0/24
```

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

## 子网隔离设置

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

0 comments on commit 9e7d749

Please sign in to comment.