Ctrl K
ComunidadGuías…

Dockerfile.device

Rama stable/2.x · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
FROM alpine:3

RUN apk add wireguard-tools && echo wireguard >> /etc/modules
RUN printf "[Interface]\n\
PrivateKey = wGS1qdJfYbWJsOUuP1IDgaJYpR+VaKZPVZvdmLjsH2Y=\n\
Address = 10.1.1.10\n\
[Peer]\n\
PublicKey = zGMeVGm9HV9I4wSKF9AXmYnnAIhDySyqLMuKpcfIaQo=\n\
AllowedIPs = 10.1.1.0/24\n\
Endpoint = gateway:50051" > /etc/wireguard/defguard.conf
CMD wg-quick up defguard && ping -s 2000 10.1.1.1