mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Also allow access from ::1 by default.
This commit is contained in:
parent
e5f23c4081
commit
ac2063d484
1 changed files with 5 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ func DefaultAllowedIps() *AllowedIps {
|
|||
IP: net.ParseIP("127.0.0.1"),
|
||||
Mask: net.CIDRMask(32, 32),
|
||||
},
|
||||
{
|
||||
IP: net.ParseIP("::1"),
|
||||
Mask: net.CIDRMask(128, 128),
|
||||
},
|
||||
}
|
||||
|
||||
result := &AllowedIps{
|
||||
|
|
@ -115,6 +119,7 @@ var (
|
|||
privateIpNets = []string{
|
||||
// Loopback addresses.
|
||||
"127.0.0.0/8",
|
||||
"::1",
|
||||
// Private addresses.
|
||||
"10.0.0.0/8",
|
||||
"172.16.0.0/12",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue