1.2.安装linuxserver/wireguard镜像(建议使用wg-easy) #安装docker-compose sudo curl -L "https://github.com/docker/compose/releases/download/v2.19.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod 755 /usr/local/bin/docker-compose docker-compose version ...
I can run Nextcloud on the Docker-Host using Docker I can point a reverse proxy from Wireguard-Server to Docker-Host and access its Nextcloud instance via a subdomain (nextcloud.mydomain.tld) I can download updates from ports .ubuntu .com from inside a docker container What d...
51820/udp \-v/root/docker/container/wireguard/config:/config \-v/lib/modules:/lib/modules \--sysctl="net.ipv4.conf.all.src_valid_mark=1"\--restart always \ linuxserver/wireguard#说明:`#optional`//参数可选-e SERVERPORT=51820// 服务器端口-e INTERNAL_SUBNET=10.13.13.0//子网掩码-v/lib...
the container will run in server mode and the necessary server and peer/client confs will be generated. The peer/client config qr codes will be output in the docker log ifLOG_CONFSis set totrue. They will also be saved in text and png format under/config/peerXin casePEERSis a...
docker安装:https://hub.docker.com/r/linuxs 脚本一键安装:https://github.com/hwdsl2/wireguard-install/tree/master或者https://github.com/angristan/wireguard-install WireGuard 优点: 高性能和低延迟:WireGuard 被设计成非常快速的 VPN 协议,它能够在保证安全性的同时提供卓越的性能。相比于传统的 VPN 协议,...
二、部署1、启动依赖的网络模块 modprobe ip_tables && modprobe iptable-nat 需要开机启动,需要将命令写入rc.local 2、命令行启动容器 docker run -d \ --name=wg-easy \ -e WG_HOST=YOUR_SERVER_IP \ -e PASSWORD=YOUR_ADMIN_PASSWOR \ -e WG_DEFAULT_ADDRESS=10.0.0.x \ -e WG_DEFAULT...
Setting up an Ark Dedicated Server on Linux Setting up a Speedtest Tracker using Docker Route your Docker Containers through a VPN with Gluetun Setting up RabbitMQ using Docker Compose Installing WireGuard VPN using a Docker Container In the following sections, we will show how to run the WireGu...
docker run -d \ --name=wg-easy \ -e WG_HOST=YOUR_SERVER_IP \ -e PASSWORD=YOUR_ADMIN_PASSWOR \ -e WG_DEFAULT_ADDRESS=10.0.0.x \ -e WG_DEFAULT_DNS=114.114.114.114 \ -e WG_PERSISTENT_KEEPALIVE=30 \ -e WG_ALLOWED_IPS=10.0.0.0/24 \ ...
wg-gen-web 支持直接通过容器来运行,如果你是在本地运行,可以准备一份 docker-compose 文件: docker-compose.yaml 代码语言:javascript 复制 version:'3.6'services:wg-gen-web:image:vx3r/wg-gen-web:latestcontainer_name:wg-gen-webrestart:alwaysexpose:-"8080/tcp"ports:-80:8080environment:-WG_CONF_DIR...
docker run -d \ --name=wg-easy \ -e WG_HOST=YOUR_SERVER_IP \ -e PASSWORD=YOUR_ADMIN_PASSWOR \ -e WG_DEFAULT_ADDRESS=10.0.0.x \ -e WG_DEFAULT_DNS=114.114.114.114 \ -e WG_PERSISTENT_KEEPALIVE=30 \ -e WG_ALLOWED_IPS=10.0.0.0/24 \ ...