| 123456789101112131415161718192021222324252627282930313233343536 |
- package ovpm
- const (
- // Version defines the version of ovpm.
- Version = "0.2.4"
- // DefaultVPNPort is the default OpenVPN port to listen.
- DefaultVPNPort = "1197"
- // DefaultVPNProto is the default OpenVPN protocol to use.
- DefaultVPNProto = UDPProto
- // DefaultVPNNetwork is the default OpenVPN network to use.
- DefaultVPNNetwork = "10.9.0.0/24"
- // DefaultVPNDNS is the default DNS to push to clients.
- DefaultVPNDNS = "8.8.8.8"
- etcBasePath = "/etc/ovpm/"
- varBasePath = "/var/db/ovpm/"
- _DefaultConfigPath = etcBasePath + "ovpm.ini"
- _DefaultDBPath = varBasePath + "db.sqlite3"
- _DefaultVPNConfPath = varBasePath + "server.conf"
- _DefaultVPNCCDPath = varBasePath + "ccd"
- _DefaultCertPath = varBasePath + "server.crt"
- _DefaultKeyPath = varBasePath + "server.key"
- _DefaultCACertPath = varBasePath + "ca.crt"
- _DefaultCAKeyPath = varBasePath + "ca.key"
- _DefaultDHParamsPath = varBasePath + "dh4096.pem"
- _DefaultCRLPath = varBasePath + "crl.pem"
- )
- // Testing is used to determine whether we are testing or running normally.
- // Set it to true when testing.
- var Testing = false
|