mainfrezzer-wireguard-client

mainfrezzer-wireguard-client

Docker 应用程序 from Mainfrezzer's Repository

概述

Allows you to connect your containers to a dual-stack or even ipv6 only wireguard server. Comes with Privoxy as http proxy (https://www.privoxy.org/) and mircosocks as socks5 proxy (https://github.com/rofl0r/microsocks)

运行时参数

网络
bridge
外壳
sh
特权
false
额外参数
--cap-add=NET_ADMIN --sysctl net.ipv4.conf.all.src_valid_mark=1

模板配置

Wireguard ConfigPathrw

Location to place your wg0.conf

目标
/etc/wireguard/
价值
/mnt/user/appdata/wg-bridge
Socks5Porttcp
目标
1080
默认值
1080
价值
1080
Http ProxyPorttcp
目标
8080
默认值
8080
价值
8080
Lan NetworkVariable

Set you ipv4 LAN network in CIDR format. Only needed if you want to reach something attached to this container and vice versa

目标
LAN_NETWORK
默认值
192.168.2.0/24
价值
192.168.2.0/24
Lan IPV6 NetworkVariable

Set your ipv6 LAN network in CIDR format. ULA or GUA. Only needed if you want to reach something attached to this container and vice versa

目标
LAN_NETWORK6
默认值
fd00::/64
价值
fd00::/64
Privoxy portVariable

Allows you to change the port Privoxy listens on inside the container. If you change it, dont forget to add a new port mapping

目标
HTTPPORT
默认值
8080
价值
8080
Random ModeVariable

Setting this to 1 will pick a wireguard config file randomly to establish the connection. Do not name the files wg0.conf

目标
ENABLE_RANDOM
默认值
0
价值
0
Healthcheck URLVariable

By default the healthcheck checks its endpoint via ping. This might not be possible in some cases. You can set a domain or ip address here to use instead.

目标
HEALTH_URL_CHECK
CONNECTED_CONTAINERSVariable

This variable enables the Connected Containers feature which will notify compatible containers when the VPN is restarted and restart themselves. To enable this feature enter '27286' without quotes, if you don't want to enable this feature leave this field empty.

Disable Tunnel EnforcementVariable

Setting ANY value will disable the VPN tunnel enforcement. That means the container will not ensure that all your traffic is routed through the VPN. This is useful if you want your containers only to reach specific VPN IPs but otherwise want to use your internet connection

目标
DISABLE_TUNNEL_MODE

下载统计数据

1,334
下载总数

详细信息

存储库
ghcr.io/mainfrezzer/wg-bridge:latest
最后更新2026-03-23
初见2025-03-16

在Unraid 上运行 mainfrezzer-wireguard-client 。

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