We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81b7c26 commit 27cc0a0Copy full SHA for 27cc0a0
1 file changed
intra/ipn/warp/agw.go
@@ -50,6 +50,8 @@ var (
50
const (
51
prod = true
52
53
+ agwAlwaysAllowAllIPs = true
54
+
55
agwDevUrl = "http://gw.dev.amzsvc.com/v1/config"
56
agwProdUrl = "http://gw.amnezia.org/v1/config"
57
agwDevRsaPublicKey = `-----BEGIN PUBLIC KEY-----
@@ -169,7 +171,7 @@ type AmzWgConfig struct {
169
171
}
170
172
173
func (c *AmzWgConfig) genWgConf() {
- if len(c.AllowedIPs) <= 0 {
174
+ if len(c.AllowedIPs) <= 0 || agwAlwaysAllowAllIPs {
175
c.AllowedIPs = []string{gw4, gw6}
176
177
server := net.JoinHostPort(c.HostName, fmt.Sprintf("%d", c.Port))
0 commit comments