aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/ranges.go
blob: e9429e2635f2e1235ffad3c91f1d48a02f82809d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package internal

// PrivateRangesCIDR returns a list of private CIDR range
// strings, which can be used as a configuration shortcut.
func PrivateRangesCIDR() []string {
	return []string{
		"192.168.0.0/16",
		"172.16.0.0/12",
		"10.0.0.0/8",
		"127.0.0.1/8",
		"fd00::/8",
		"::1",
	}
}