initial commit
This commit is contained in:
17
protonvpn-wg-confgen/internal/constants/wireguard.go
Normal file
17
protonvpn-wg-confgen/internal/constants/wireguard.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package constants
|
||||
|
||||
// WireGuard defaults
|
||||
const (
|
||||
WireGuardPort = 51820
|
||||
DefaultMTU = 1420
|
||||
|
||||
// IPv4 configuration
|
||||
WireGuardIPv4 = "10.2.0.2/32"
|
||||
DefaultDNSIPv4 = "10.2.0.1"
|
||||
DefaultAllowedIPsIPv4 = "0.0.0.0/0"
|
||||
|
||||
// IPv6 configuration
|
||||
WireGuardIPv6 = "2a07:b944::2:2/128"
|
||||
DefaultDNSIPv6 = "2a07:b944::2:1"
|
||||
DefaultAllowedIPsIPv6 = "::/0"
|
||||
)
|
||||
Reference in New Issue
Block a user