Comments (4)
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.
Please try this image:
lsiodev/wireguard:v1.0.20200513-pkg-9fe5b6c6-dev-7e88a943105b30d40dadd2add16410e87115223d
instead oflinuxserver/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.
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.
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)
- [BUG] Custom Server Port not taken into account in server.conf template HOT 3
- [BUG] starting with ~v1.0.20210914-ls116 cannot connect to wireguard HOT 3
- [BUG] Error generating QRCode - qrencode: command not found HOT 2
- [BUG] -ls23 and onwards has issue with adding iptables rules HOT 6
- [BUG] iptables v1.8.10 (legacy): can't initialize iptables table `filter' HOT 4
- [BUG] Conneted to the Wiregurad server, but no network connection on client side. HOT 3
- [BUG] Client IPs are all the container's host HOT 15
- [BUG] missing /32 in interface address HOT 14
- [FEAT] Enable SERVER_ALLOWEDIPS_PEER_ declaration by comma HOT 9
- Old tags are wrong HOT 4
- [BUG] ListenPort = 51820 in default peer.conf disallows >1 peer through NAT loopback HOT 11
- [FEAT] [Peer] definition within generated wg0.conf should be templated HOT 10
- Setting SERVERPORT has no effect HOT 5
- [BUG] Setting SERVER_ALLOWEDIPS_PEER_ does not recreate configs HOT 2
- [BUG] busybox's modprobe fails to load kernel module HOT 1
- [FEAT] IPv6 subnet support HOT 3
- [BUG] Dual-stack IPv6 traffic is not dropped and therefore spoiling the true origin of packets HOT 1
- [FEAT] Enable logging in CoreDNS HOT 3
- [BUG] dosent work in ubuntu server HOT 7
- [FEAT] optional disable coredns HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wireguard.