Git Product home page Git Product logo

Comments (4)

aptalca avatar aptalca commented on August 17, 2024 1

Please try this image: lsiodev/wireguard:v1.0.20200513-pkg-9fe5b6c6-dev-7e88a943105b30d40dadd2add16410e87115223d instead of linuxserver/wireguard and post the full log if it doesn't work

from docker-wireguard.

alexanderek avatar alexanderek commented on August 17, 2024 1

Please try this image: lsiodev/wireguard:v1.0.20200513-pkg-9fe5b6c6-dev-7e88a943105b30d40dadd2add16410e87115223d instead of linuxserver/wireguard and post the full log if it doesn't work

Thanks, seems to work now.

wireguard    | Setting up linux-headers-4.19.0-9-amd64 (4.19.118-2) ...
wireguard    | /etc/kernel/header_postinst.d/dkms:
wireguard    |  * dkms: running auto installation service for kernel 4.19.0-9-amd64
wireguard    |    ...done.
wireguard    | Processing triggers for libc-bin (2.27-3ubuntu1) ...
wireguard    | Kernel headers seem to be present, attempting to build the wireguard module. . .
wireguard    | make: Entering directory '/app/wireguard-linux-compat/src'
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/main.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/noise.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/peer.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/device.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/timers.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/queueing.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/send.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/receive.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/socket.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/peerlookup.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/allowedips.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/ratelimiter.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/cookie.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/netlink.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/crypto/zinc/chacha20/chacha20.o
wireguard    |   PERLASM /app/wireguard-linux-compat/src/crypto/zinc/chacha20/chacha20-x86_64.S
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/crypto/zinc/poly1305/poly1305.o
wireguard    |   PERLASM /app/wireguard-linux-compat/src/crypto/zinc/poly1305/poly1305-x86_64.S
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/crypto/zinc/chacha20poly1305.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/crypto/zinc/blake2s/blake2s.o
wireguard    |   AS [M]  /app/wireguard-linux-compat/src/crypto/zinc/blake2s/blake2s-x86_64.o
wireguard    |   CC [M]  /app/wireguard-linux-compat/src/crypto/zinc/curve25519/curve25519.o
wireguard    |   AS [M]  /app/wireguard-linux-compat/src/crypto/zinc/chacha20/chacha20-x86_64.o
wireguard    |   AS [M]  /app/wireguard-linux-compat/src/crypto/zinc/poly1305/poly1305-x86_64.o
wireguard    |   LD [M]  /app/wireguard-linux-compat/src/wireguard.o
wireguard    |   Building modules, stage 2.
wireguard    |   MODPOST 1 modules
wireguard    |   CC      /app/wireguard-linux-compat/src/wireguard.mod.o
wireguard    |   LD [M]  /app/wireguard-linux-compat/src/wireguard.ko
wireguard    | make: Leaving directory '/app/wireguard-linux-compat/src'
wireguard    | make: Entering directory '/app/wireguard-linux-compat/src'
wireguard    |   INSTALL /app/wireguard-linux-compat/src/wireguard.ko
wireguard    |   DEPMOD  4.19.0-9-amd64
wireguard    | Warning: modules_install: missing 'System.map' file. Skipping depmod.
wireguard    | depmod -a 4.19.0-9-amd64
wireguard    | make: Leaving directory '/app/wireguard-linux-compat/src'
wireguard    | Let's test our new module.
wireguard    | [!] Warning: This server is for testing purposes only. You may not use this server for abusive or illegal purposes.
wireguard    | [+] Generating private key.
wireguard    | [+] Sending public key to server.
wireguard    | [+] Parsing server response.
wireguard    | [+] Writing config file.
wireguard    | [+] Success. Run `wg-quick up demo` to turn on the tunnel to the demo server and `wg-quick down demo` to turn it off.
wireguard    | [#] ip link add demo type wireguard
wireguard    | [#] wg setconf demo /dev/fd/63
wireguard    | [#] ip -4 address add 192.168.4.58/24 dev demo
wireguard    | [#] ip link set mtu 1420 up dev demo
wireguard    | [#] resolvconf -a tun.demo -m 0 -x
wireguard    | [#] wg set demo fwmark 51820
wireguard    | [#] ip -4 route add 0.0.0.0/0 dev demo table 51820
wireguard    | [#] ip -4 rule add not fwmark 51820 table 51820
wireguard    | [#] ip -4 rule add table main suppress_prefixlength 0
wireguard    | [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
wireguard    | sysctl: setting key "net.ipv4.conf.all.src_valid_mark": Read-only file system
wireguard    | [#] iptables-restore -n
wireguard    | The module is working properly, moving forward with setup.
wireguard    | [#] ip -4 rule delete table 51820
wireguard    | [#] ip -4 rule delete table main suppress_prefixlength 0
wireguard    | [#] ip link delete dev demo
wireguard    | [#] resolvconf -d tun.demo -f
wireguard    | [#] iptables-restore -n
wireguard    | Server mode is selected
wireguard    | External server address is set to ...
wireguard    | External server port is set to 52820. Make sure that port is properly forwarded to port 51820 inside this container
wireguard    | Internal subnet is set to 10.14.14.0
wireguard    | PEERDNS var is either not set or is set to "auto", setting peer DNS to 10.14.14.1 to use wireguard docker host's DNS.
wireguard    | Server mode is selected
wireguard    | No changes to parameters. Existing configs are used.
wireguard    | [cont-init.d] 30-config: exited 0.
wireguard    | [cont-init.d] 99-custom-scripts: executing...
wireguard    | [custom-init] no custom files found exiting...
wireguard    | [cont-init.d] 99-custom-scripts: exited 0.
wireguard    | [cont-init.d] done.
wireguard    | [services.d] starting services
wireguard    | [services.d] done.
wireguard    | [#] ip link add wg0 type wireguard
wireguard    | [#] wg setconf wg0 /dev/fd/63
wireguard    | [#] ip -4 address add 10.14.14.1 dev wg0
wireguard    | [#] ip link set mtu 1420 up dev wg0
wireguard    | [#] ip -4 route add 10.14.14.4/32 dev wg0
wireguard    | [#] ip -4 route add 10.14.14.3/32 dev wg0
wireguard    | [#] ip -4 route add 10.14.14.2/32 dev wg0
wireguard    | [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
wireguard    | .:53
wireguard    | CoreDNS-1.7.0
wireguard    | linux/amd64, go1.14.4, f59c03d

from docker-wireguard.

SolarNeron avatar SolarNeron commented on August 17, 2024

The same problem with RTNETLINK in debian , I try this image and it works, but the processor works in 100% since a peer is connected and even if it is disconnected, it continues to 100% until I close the container.

from docker-wireguard.

aptalca avatar aptalca commented on August 17, 2024

Try the latest build. If it doesn't work, you can open a new issue and fill out the template with full logs.

from docker-wireguard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.