Add TURN permission handler. (#4505)
* Add TURN permission handler. - Turn off permissions to private/link local/multicast and internal IPs - Add a list of CIDRs that can be used for more things to deny permission to. * unused * add config for allowing private IPs, used in testing * add a TTL to user name and use it to auth * allow list for restricted peer CIDRs
This commit is contained in:
@@ -277,6 +277,21 @@ keys:
|
||||
# # optional (set only if not using external TLS termination)
|
||||
# # cert_file: /path/to/cert.pem
|
||||
# # key_file: /path/to/key.pem
|
||||
# # TTL of the TURN credentials in seconds - defaults to 300
|
||||
# ttl_seconds: 300
|
||||
# # list of restricted peer CIDRs (loopback, link-local (unicast, multicast), multicast, private, unspecified) to allow access to.
|
||||
# # By default (i. e. empty list), all restricted peer CIDRs are denied access.
|
||||
# # When not empty, only the specified CIDRs are allowed access.
|
||||
# # Note that this check is applied to restricted peer CIDRs only.
|
||||
# allow_restricted_peer_cidrs:
|
||||
# - 10.0.0.0/8
|
||||
# - 192.168.0.0/16
|
||||
# # list of peer CIDRs to deny access to.
|
||||
# # This applies to all peer CIDRs, including restricted ones.
|
||||
# # Deny list takes precedence over allow list.
|
||||
# deny_peer_cidrs:
|
||||
# - 10.0.0.0/8
|
||||
# - 192.168.0.0/16
|
||||
|
||||
# ingress server
|
||||
# ingress:
|
||||
|
||||
Reference in New Issue
Block a user