- General improvements
- Parallel download of only needed files at start
- Prettier console output with all streams merged (openvpn, unbound, shadowsocks etc.)
- Simplified Docker final image
- Faster bootup
- DNS over TLS
- Finer grain blocking at DNS level: malicious, ads and surveillance
- Choose your DNS over TLS providers
- Ability to use multiple DNS over TLS providers for DNS split horizon
- Environment variables for DNS logging
- DNS block lists needed are downloaded and built automatically at start, in parallel
- PIA
- A random region is selected if the REGION parameter is left empty (thanks @rorph for your PR)
- Routing and iptables adjusted so it can work as a Kubernetes pod sidecar (thanks @rorph for your PR)
29 lines
1.3 KiB
Go
29 lines
1.3 KiB
Go
package constants
|
|
|
|
import (
|
|
"github.com/qdm12/private-internet-access-docker/internal/models"
|
|
)
|
|
|
|
const (
|
|
// UnboundConf is the file path to the Unbound configuration file
|
|
UnboundConf models.Filepath = "/etc/unbound/unbound.conf"
|
|
// ResolvConf is the file path to the system resolv.conf file
|
|
ResolvConf models.Filepath = "/etc/resolv.conf"
|
|
// OpenVPNAuthConf is the file path to the OpenVPN auth file
|
|
OpenVPNAuthConf models.Filepath = "/etc/openvpn/auth.conf"
|
|
// OpenVPNConf is the file path to the OpenVPN client configuration file
|
|
OpenVPNConf models.Filepath = "/etc/openvpn/target.ovpn"
|
|
// TunnelDevice is the file path to tun device
|
|
TunnelDevice models.Filepath = "/dev/net/tun"
|
|
// NetRoute is the path to the file containing information on the network route
|
|
NetRoute models.Filepath = "/proc/net/route"
|
|
// TinyProxyConf is the filepath to the tinyproxy configuration file
|
|
TinyProxyConf models.Filepath = "/etc/tinyproxy/tinyproxy.conf"
|
|
// ShadowsocksConf is the filepath to the shadowsocks configuration file
|
|
ShadowsocksConf models.Filepath = "/etc/shadowsocks.json"
|
|
// RootHints is the filepath to the root.hints file used by Unbound
|
|
RootHints models.Filepath = "/etc/unbound/root.hints"
|
|
// RootKey is the filepath to the root.key file used by Unbound
|
|
RootKey models.Filepath = "/etc/unbound/root.key"
|
|
)
|