binhex-official-gluetun

binhex-official-gluetun

Docker 应用程序 from Binhex's Repository

概述

Gluetun is a lightweight swiss-knife-like VPN client to tunnel to Cyberghost, ExpressVPN, FastestVPN, HideMyAss, IPVanish, IVPN, Mullvad, NordVPN, Perfect Privacy, Privado, PrivateVPN, ProtonVPN, PureVPN, Surfshark, TorGuard, VyprVPN, Windscribe servers using OpenVPN or Wireguard, iptables killswitch, DNS over TLS, ShadowSocks, and an HTTP proxy server.

运行时参数

网络用户界面
http://[IP]:[PORT:8000]
网络
bridge
外壳
sh
特权
false
额外参数
--cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun

模板配置

Path: /gluetunPathrw

This is the container path to store gluetun related configuration.

目标
/gluetun
默认值
/mnt/cache/appdata/gluetun
Port: HTTP Control Server PortPorttcp

HTTP Control Server port

目标
8000
默认值
8000
Port: HTTP Proxy PortPorttcp

HTTP Proxy port (when HTTPPROXY=on)

目标
8888
默认值
8888
Port: Shadowsocks Port TCPPorttcp

Shadowsocks port TCP (when SHADOWSOCKS=on)

目标
8388
默认值
8388
Port: Shadowsocks Port UDPPortudp

Shadowsocks port UDP (when SHADOWSOCKS=on)

目标
8388
默认值
8388
Variable: VPN_SERVICE_PROVIDERVariable

Specify a supported VPN provider to use

目标
VPN_SERVICE_PROVIDER
默认值
private internet access|airvpn|cyberghost|expressvpn|fastestvpn|hidemyass|ipvanish|ivpn|mullvad|nordvpn|perfect privacy|privado|privatevpn|protonvpn|purevpn|slickvpn|surfshark|torguard|vpnsecure|vpn unlimited|vyprvpn|wevpn|windscribe|custom
Variable: VPN_TYPEVariable

VPN protocol to use. Not all providers support Wireguard.

目标
VPN_TYPE
默认值
openvpn|wireguard
Variable: VPN_INTERFACEVariable

Specify a custom network interface name to use

目标
VPN_INTERFACE
默认值
tun0|en0
Variable: PRIVATE_INTERNET_ACCESS_OPENVPN_ENCRYPTION_PRESETVariable

Encryption preset, 'none' disables the cipher and auth OpenVPN options (not recommended).

目标
PRIVATE_INTERNET_ACCESS_OPENVPN_ENCRYPTION_PRESET
默认值
normal|strong|none
Variable: OPENVPN_USERVariable

OpenVPN username (required for OpenVPN)

目标
OPENVPN_USER
Variable: OPENVPN_PASSWORDVariable

OpenVPN password (required for OpenVPN)

目标
OPENVPN_PASSWORD
Variable: OPENVPN_PROTOCOLVariable

Network protocol to use for OpenVPN

目标
OPENVPN_PROTOCOL
默认值
udp|tcp
Variable: OPENVPN_VERSIONVariable

Set the OpenVPN version to run

目标
OPENVPN_VERSION
默认值
2.6|2.5
Variable: OPENVPN_ENDPOINT_IPVariable

Specify a target VPN server IP address to use

目标
OPENVPN_ENDPOINT_IP
Variable: OPENVPN_ENDPOINT_PORTVariable

Specify a target VPN server port number to use

目标
OPENVPN_ENDPOINT_PORT
Variable: OPENVPN_VERBOSITYVariable

OpenVPN verbosity level (1-6)

目标
OPENVPN_VERBOSITY
默认值
1|2|3|4|5|6
Variable: OPENVPN_FLAGSVariable

Space delimited OpenVPN flags to pass to openvpn

目标
OPENVPN_FLAGS
Variable: OPENVPN_ROOTVariable

Run OpenVPN as root

目标
OPENVPN_ROOT
默认值
no|yes
Variable: OPENVPN_CIPHERSVariable

Specify a custom cipher to use (e.g. aes-256-gcm)

目标
OPENVPN_CIPHERS
Variable: OPENVPN_AUTHVariable

Specify a custom auth algorithm to use (e.g. sha256)

目标
OPENVPN_AUTH
Variable: OPENVPN_MSSFIXVariable

Set the MSS fix parameter (0-9999, 0 to use defaults)

目标
OPENVPN_MSSFIX
默认值
0
Variable: OPENVPN_CUSTOM_CONFIGVariable

Path to custom OpenVPN configuration file for custom provider

目标
OPENVPN_CUSTOM_CONFIG
Variable: WIREGUARD_PRIVATE_KEYVariable

Wireguard client private key (required for Wireguard)

目标
WIREGUARD_PRIVATE_KEY
Variable: WIREGUARD_ADDRESSESVariable

Wireguard IP network interface address (xx.xx.xx.xx/xx)

目标
WIREGUARD_ADDRESSES
Variable: WIREGUARD_PUBLIC_KEYVariable

Wireguard server public key

目标
WIREGUARD_PUBLIC_KEY
Variable: WIREGUARD_ENDPOINT_IPVariable

Wireguard server endpoint IP address

目标
WIREGUARD_ENDPOINT_IP
Variable: WIREGUARD_ENDPOINT_PORTVariable

Wireguard server endpoint port number

目标
WIREGUARD_ENDPOINT_PORT
Variable: WIREGUARD_PRESHARED_KEYVariable

Wireguard pre-shared key

目标
WIREGUARD_PRESHARED_KEY
Variable: WIREGUARD_ALLOWED_IPSVariable

Wireguard peer allowed IPs (CSV format)

目标
WIREGUARD_ALLOWED_IPS
默认值
0.0.0.0/0,::/0
Variable: WIREGUARD_IMPLEMENTATIONVariable

Wireguard implementation to use

目标
WIREGUARD_IMPLEMENTATION
默认值
auto|kernelspace|userspace
Variable: WIREGUARD_MTUVariable

Wireguard MTU (1-65535)

目标
WIREGUARD_MTU
默认值
1400
Variable: WIREGUARD_PERSISTENT_KEEPALIVE_INTERVALVariable

Wireguard persistent keepalive interval (e.g. 25s)

目标
WIREGUARD_PERSISTENT_KEEPALIVE_INTERVAL
Variable: SERVER_COUNTRIESVariable

Comma separated list of countries

目标
SERVER_COUNTRIES
Variable: SERVER_REGIONSVariable

Comma separated list of regions

目标
SERVER_REGIONS
Variable: SERVER_CITIESVariable

Comma separated list of cities

目标
SERVER_CITIES
Variable: SERVER_HOSTNAMESVariable

Comma separated list of server hostnames

目标
SERVER_HOSTNAMES
Variable: SERVER_NAMESVariable

Comma separated list of server names

目标
SERVER_NAMES
Variable: SERVER_CATEGORIESVariable

Comma separated list of server categories (NordVPN)

目标
SERVER_CATEGORIES
Variable: VPN_PORT_FORWARDINGVariable

Enable custom port forwarding code for supported providers

目标
VPN_PORT_FORWARDING
默认值
off|on
Variable: VPN_PORT_FORWARDING_PROVIDERVariable

Choose the custom port forwarding code to use

目标
VPN_PORT_FORWARDING_PROVIDER
Variable: VPN_PORT_FORWARDING_STATUS_FILEVariable

File path to use for writing the forwarded port obtained

目标
VPN_PORT_FORWARDING_STATUS_FILE
默认值
/gluetun/forwarded_port
Variable: VPN_PORT_FORWARDING_LISTENING_PORTVariable

Port redirection for the VPN server side port forwarded

目标
VPN_PORT_FORWARDING_LISTENING_PORT
Variable: FIREWALL_VPN_INPUT_PORTSVariable

Comma separated list of ports to allow from the VPN server side

目标
FIREWALL_VPN_INPUT_PORTS
Variable: FIREWALL_INPUT_PORTSVariable

Comma separated list of ports to allow through the default interface

目标
FIREWALL_INPUT_PORTS
Variable: FIREWALL_DEBUGVariable

Prints every firewall related command (debugging only)

目标
FIREWALL_DEBUG
默认值
off|on
Variable: FIREWALL_OUTBOUND_SUBNETSVariable

Comma separated subnets that Gluetun is allowed to access

目标
FIREWALL_OUTBOUND_SUBNETS
Variable: DNS_SERVERVariable

Activate DNS over TLS with Unbound

目标
DNS_SERVER
默认值
on
Variable: DNS_UPSTREAM_RESOLVER_TYPEVariable

How to connect to upstream DNS servers: dot (DNS over TLS), doh (DNS over HTTPS), plain (UDP DNS)

目标
DNS_UPSTREAM_RESOLVER_TYPE
默认值
dot|doh|plain
Variable: DNS_UPSTREAM_RESOLVERSVariable

Comma delimited list of DNS over TLS providers, valid values are: 'google', 'quad9', 'quadrant', 'cleanbrowsing', 'libredns', 'opendns'

目标
DNS_UPSTREAM_RESOLVERS
默认值
google
Variable: DNS_UNBLOCK_HOSTNAMESVariable

Comma separated list of domain names to leave unblocked from the filtering

目标
DNS_UNBLOCK_HOSTNAMES
Variable: DNS_CACHINGVariable

Unbound caching

目标
DNS_CACHING
默认值
on|off
Variable: DNS_BLOCK_IP_PREFIXESVariable

All private CIDRs ranges. Comma separated list of CIDRs or single IP addresses Unbound won't resolve to. Note that the default setting prevents DNS rebinding

目标
DNS_BLOCK_IP_PREFIXES
默认值
127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,::1/128,fc00::/7,fe80::/10,::ffff:7f00:1/104,::ffff:a00:0/104,::ffff:a9fe:0/112,::ffff:ac10:0/108,::ffff:c0a8:0/112
Variable: DNS_UPSTREAM_IPV6Variable

DNS IPv6 resolution

目标
DNS_UPSTREAM_IPV6
默认值
off|on
Variable: DNS_BLOCK_IPSVariable

Comma separated list of IP addresses to not resolve public domains to

目标
DNS_BLOCK_IPS
Variable: DNS_REBINDING_PROTECTION_EXEMPT_HOSTNAMESVariable

Comma separated list of public domain names to exclude from DNS rebinding protection

目标
DNS_REBINDING_PROTECTION_EXEMPT_HOSTNAMES
Variable: DNS_UPDATE_PERIODVariable

Period to update block lists and restart Unbound (e.g. 24h, 0 to disable)

目标
DNS_UPDATE_PERIOD
默认值
24h
Variable: DNS_ADDRESSVariable

IP address to use as DNS resolver

目标
DNS_ADDRESS
默认值
127.0.0.1
Variable: DNS_KEEP_NAMESERVERVariable

Keep /etc/resolv.conf untouched

目标
DNS_KEEP_NAMESERVER
默认值
off|on
Variable: BLOCK_MALICIOUSVariable

Block malicious hostnames and IPs with Unbound

目标
BLOCK_MALICIOUS
默认值
on|off
Variable: BLOCK_SURVEILLANCEVariable

Block surveillance hostnames and IPs with Unbound

目标
BLOCK_SURVEILLANCE
默认值
off|on
Variable: BLOCK_ADSVariable

Block ads hostnames and IPs with Unbound

目标
BLOCK_ADS
默认值
off|on
Variable: HTTPPROXYVariable

Enable the internal HTTP proxy

目标
HTTPPROXY
默认值
off|on
Variable: HTTPPROXY_LOGVariable

Logs every tunnel requests

目标
HTTPPROXY_LOG
默认值
off|on
Variable: HTTPPROXY_LISTENING_ADDRESSVariable

Internal listening address for the HTTP proxy

目标
HTTPPROXY_LISTENING_ADDRESS
默认值
:8888
Variable: HTTPPROXY_USERVariable

Username to use to connect to the HTTP proxy

目标
HTTPPROXY_USER
Variable: HTTPPROXY_PASSWORDVariable

Password to use to connect to the HTTP proxy

目标
HTTPPROXY_PASSWORD
Variable: HTTPPROXY_STEALTHVariable

Stealth mode means HTTP proxy headers are not added

目标
HTTPPROXY_STEALTH
默认值
off|on
Variable: SHADOWSOCKSVariable

Enable the internal Shadowsocks proxy

目标
SHADOWSOCKS
默认值
off|on
Variable: SHADOWSOCKS_LOGVariable

Enable Shadowsocks logging

目标
SHADOWSOCKS_LOG
默认值
off|on
Variable: SHADOWSOCKS_LISTENING_ADDRESSVariable

Internal listening address for Shadowsocks

目标
SHADOWSOCKS_LISTENING_ADDRESS
默认值
:8388
Variable: SHADOWSOCKS_PASSWORDVariable

Password to use to connect to Shadowsocks

目标
SHADOWSOCKS_PASSWORD
Variable: SHADOWSOCKS_CIPHERVariable

AEAD Cipher to use for Shadowsocks

目标
SHADOWSOCKS_CIPHER
默认值
chacha20-ietf-poly1305|aes-128-gcm|aes-256-gcm
Variable: HTTP_CONTROL_SERVER_AUTH_DEFAULT_ROLEVariable

Authentication configuration for the HTTP Control Server

目标
HTTP_CONTROL_SERVER_AUTH_DEFAULT_ROLE
默认值
{"auth":"basic","username":"controlserver","password":"controlserver"}
Variable: HTTP_CONTROL_SERVER_ADDRESSVariable

Listening address for the HTTP Control Server

目标
HTTP_CONTROL_SERVER_ADDRESS
默认值
:8000
Variable: HTTP_CONTROL_SERVER_LOGVariable

Enable logging of requests for the HTTP Control Server

目标
HTTP_CONTROL_SERVER_LOG
默认值
on|off
Variable: HTTP_CONTROL_SERVER_AUTH_CONFIG_FILEPATHVariable

Path to a TOML file containing authentication configuration for the HTTP Control Server

目标
HTTP_CONTROL_SERVER_AUTH_CONFIG_FILEPATH
Variable: HEALTH_TARGET_ADDRESSESVariable

Comma-separated addresses to ping on every internal health check (replaces HEALTH_TARGET_ADDRESS)

目标
HEALTH_TARGET_ADDRESSES
默认值
google.com:443
Variable: HEALTH_VPN_DURATION_INITIALVariable

Initial duration to wait for the VPN to be ready

目标
HEALTH_VPN_DURATION_INITIAL
默认值
6s
Variable: HEALTH_VPN_DURATION_ADDITIONVariable

Additional duration to add for each consecutive VPN failure

目标
HEALTH_VPN_DURATION_ADDITION
默认值
5s
Variable: HEALTH_SUCCESS_WAIT_DURATIONVariable

Duration to wait after a success check

目标
HEALTH_SUCCESS_WAIT_DURATION
默认值
5s
Variable: HEALTH_SERVER_ADDRESSVariable

Internal health check server listening address

目标
HEALTH_SERVER_ADDRESS
默认值
127.0.0.1:9999
Variable: UPDATER_PERIODVariable

Period to update VPN servers data e.g. '24h' (0 to disable)

目标
UPDATER_PERIOD
默认值
0
Variable: UPDATER_MIN_RATIOVariable

Ratio of servers to be found for update to succeed

目标
UPDATER_MIN_RATIO
默认值
0.8
Variable: UPDATER_VPN_SERVICE_PROVIDERSVariable

List of providers to update servers data for

目标
UPDATER_VPN_SERVICE_PROVIDERS
Variable: STORAGE_FILEPATHVariable

Path of servers.json file (empty to disable caching)

目标
STORAGE_FILEPATH
默认值
/gluetun/servers.json
Variable: TZVariable

Specify a timezone to use to have correct log times. i.e. Europe/London

目标
TZ
Variable: PUIDVariable

User ID to run as non root

目标
PUID
默认值
99
Variable: PGIDVariable

Group ID to run as non root

目标
PGID
默认值
100
Variable: PUBLICIP_ENABLEDVariable

Check for public IP address information on VPN connection

目标
PUBLICIP_ENABLED
默认值
true
Variable: PUBLICIP_APIVariable

Public IP echo service API to use

目标
PUBLICIP_API
默认值
ipinfo
Variable: PUBLICIP_API_TOKENVariable

Optional API token for the public IP echo service

目标
PUBLICIP_API_TOKEN
Variable: PUBLICIP_FILEVariable

Filepath to store the public IP address assigned

目标
PUBLICIP_FILE
默认值
/gluetun/ip
Variable: VERSION_INFORMATIONVariable

Logs a message indicating if a newer version is available

目标
VERSION_INFORMATION
默认值
on

下载统计数据

41,503,863
下载总数
3,041,883
本月
2,333,947
平均每月

长期下载总量

加载图表...

详细信息

存储库
qmcgaw/gluetun
最后更新2026-05-05
初见2021-07-24

在Unraid 上运行 binhex-official-gluetun 。

binhex-official-gluetun 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。