Files
gluetun/internal/constants/paths.go

31 lines
1.4 KiB
Go
Raw Normal View History

2020-04-12 20:01:33 +00:00
package constants
const (
2020-10-20 02:45:28 +00:00
// UnboundConf is the file path to the Unbound configuration file.
2021-02-06 18:31:14 +00:00
UnboundConf string = "/etc/unbound/unbound.conf"
2020-10-20 02:45:28 +00:00
// ResolvConf is the file path to the system resolv.conf file.
2021-02-06 18:31:14 +00:00
ResolvConf string = "/etc/resolv.conf"
2020-10-20 02:45:28 +00:00
// CACertificates is the file path to the CA certificates file.
2021-02-06 18:31:14 +00:00
CACertificates string = "/etc/ssl/certs/ca-certificates.crt"
2020-10-20 02:45:28 +00:00
// OpenVPNAuthConf is the file path to the OpenVPN auth file.
2021-02-06 18:31:14 +00:00
OpenVPNAuthConf string = "/etc/openvpn/auth.conf"
2020-10-20 02:45:28 +00:00
// OpenVPNConf is the file path to the OpenVPN client configuration file.
2021-02-06 18:31:14 +00:00
OpenVPNConf string = "/etc/openvpn/target.ovpn"
2020-11-10 13:35:49 +00:00
// PIAPortForward is the file path to the port forwarding JSON information for PIA servers.
2021-02-06 18:31:14 +00:00
PIAPortForward string = "/gluetun/piaportforward.json"
2020-10-20 02:45:28 +00:00
// TunnelDevice is the file path to tun device.
2021-02-06 18:31:14 +00:00
TunnelDevice string = "/dev/net/tun"
2020-10-20 02:45:28 +00:00
// NetRoute is the path to the file containing information on the network route.
2021-02-06 18:31:14 +00:00
NetRoute string = "/proc/net/route"
2020-10-20 02:45:28 +00:00
// RootHints is the filepath to the root.hints file used by Unbound.
2021-02-06 18:31:14 +00:00
RootHints string = "/etc/unbound/root.hints"
2020-10-20 02:45:28 +00:00
// RootKey is the filepath to the root.key file used by Unbound.
2021-02-06 18:31:14 +00:00
RootKey string = "/etc/unbound/root.key"
2021-06-20 16:12:39 +00:00
// ClientKey is the client key filepath.
2021-02-06 18:31:14 +00:00
ClientKey string = "/gluetun/client.key"
2021-06-20 16:12:39 +00:00
// ClientCertificate is the client certificate filepath.
2021-02-06 18:31:14 +00:00
ClientCertificate string = "/gluetun/client.crt"
2021-06-20 16:12:39 +00:00
// ServersData is the server information filepath.
ServersData = "/gluetun/servers.json"
2020-04-12 20:01:33 +00:00
)