mirror of
https://github.com/erebe/wstunnel.git
synced 2025-12-24 13:47:51 +08:00
Update restrictions.yaml with Unix socket rule
Added restriction for reverse tunnel on Unix socket.
This commit is contained in:
committed by
GitHub
parent
fa02660cf1
commit
97ddf47978
@@ -59,6 +59,7 @@ restrictions:
|
||||
cidr:
|
||||
- 0.0.0.0/0
|
||||
- ::/0
|
||||
unix_path: "^.*$"
|
||||
|
||||
---
|
||||
# Examples
|
||||
@@ -116,3 +117,12 @@ restrictions:
|
||||
match:
|
||||
- !Any
|
||||
allow: []
|
||||
---
|
||||
restrictions:
|
||||
- name: "example 6"
|
||||
description: "Allow reverse tunnel for Unix socket on /tmp/xxxx "
|
||||
match:
|
||||
- !Any
|
||||
allow:
|
||||
- !ReverseTunnel
|
||||
unix_path: "^/tmp/"
|
||||
|
||||
Reference in New Issue
Block a user