组网如何实现客户端隔离
- Dominant language
- Rust
- Stars
- 13.6k
- Forks
- 1.4k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 34
Description
请教一下大佬, 我部署了共享节点, 我想实现组网的节点直接实现网络隔离
比如说: 只允许1.1.1.1访问其他节点1.1.1.2, 1.1.1.3........, client2, client3等其他节点之间不允许相互访问,
client-main1 1.1.1.1
client2 1.1.1.2
client3 1.1.1.3
研究了半天配置都不行
```
easytier-core --private-mode true \
--network-name vpc --network-secret xxxxxxxxx \
--relay-network-whitelist \
-l 'tcp://0.0.0.0:22299' \
-l 'udp://0.0.0.0:22298' -l 'ring://0.0.0.0:22297' \
-l 'ws://0.0.0.0:22296' -l 'wss://0.0.0.0:22295' \
--hostname gateway -n 10.66.0.0/20 \
--dev-name vpc --accept-dns true --disable-p2p --proxy-forward-by-system --exit-nodes
./easytier-core --hostname control --network-name vpc --network-secret xxxxxxxxx -p tcp://ent.com:22299 --dev-name es0 -i 10.66.0.2 --no-listener --accept-dns true
./easytier-core --hostname k-12 --network-name vpc --network-secret xxxxxxxxx -p tcp://ent.com:22299 --dev-name es0 -d -n 10.66.0.0/20 --no-tun --no-listener --accept-dns true
# iptables -I FORWARD -s 10.66.0.0/20 -j DROP
# iptables -I FORWARD -d 10.66.0.0/20 -j DROP
```
Contributor guide
Assessment
This issue has not been assessed yet.