wireguard lscr.io/linuxserver/wireguard https://github.com/orgs/linuxserver/packages/container/package/wireguard Donations https://www.linuxserver.io/donate https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/donate.png bridge false https://github.com/linuxserver/docker-wireguard/issues/new/choose bash https://github.com/linuxserver/docker-wireguard#application-setup https://github.com/linuxserver/docker-wireguard#readme https://www.wireguard.com/ WireGuard®(https://www.wireguard.com/) is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry. --cap-add=NET_ADMIN --cap-add=SYS_MODULE --sysctl=net.ipv4.conf.all.src_valid_mark=1 https://raw.githubusercontent.com/linuxserver/templates/main/unraid/wireguard.xml https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png 2022-05-16 ### 2022-05-16 - Improve NAT handling in server mode when multiple ethernet devices are present. ### 2022-04-23 - Add pre-shared key support. Automatically added to all new peer confs generated, existing ones are left without to ensure no breaking changes. ### 2022-04-10 - Rebase to Ubuntu Focal. Add `LOG_CONFS` env var. Remove deprecated `add-peer` command. ### 2021-10-28 - Add site-to-site vpn support. ### 2021-02-11 - Fix bug related to changing internal subnet and named peer confs not updating. ### 2020-10-06 - Disable CoreDNS in client mode, or if port 53 is already in use in server mode. ### 2020-10-04 - Allow to specify a list of names as PEERS and add ALLOWEDIPS environment variable. Also, add peer name/id to each one of the peer sections in wg0.conf. Important: Existing users need to delete `/config/templates/peer.conf` and restart ### 2020-09-27 - Cleaning service binding example to have accurate PreDown script. ### 2020-08-06 - Replace resolvconf with openresolv due to dns issues when a client based on this image is connected to a server also based on this image. Add IPv6 info to readme. Display kernel version in logs. ### 2020-07-29 - Update Coredns config to detect dns loops (existing users need to delete `/config/coredns/Corefile` and restart). ### 2020-07-27 - Update Coredns config to prevent issues with non-user-defined bridge networks (existing users need to delete `/config/coredns/Corefile` and restart). ### 2020-07-05 - Add Debian updates and security repos for headers. ### 2020-06-25 - Simplify module tests, prevent iptables issues from resulting in false negatives. ### 2020-06-19 - Add support for Ubuntu Focal (20.04) kernels. Compile wireguard tools and kernel module instead of using the ubuntu packages. Make module install optional. Improve verbosity in logs. ### 2020-05-29 - Add support for 64bit raspbian. ### 2020-04-28 - Add Buster/Stretch backports repos for Debian. Tested with OMV 5 and OMV 4 (on kernel 4.19.0-0.bpo.8-amd64). ### 2020-04-20 - Fix typo in client mode conf existence check. ### 2020-04-13 - Fix bug that forced conf recreation on every start. ### 2020-04-08 - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops). ### 2020-04-05 - Add `INTERNAL_SUBNET` variable to prevent subnet clashes. Add templates for server and peer confs. ### 2020-04-01 - Add `show-peer` script and include info on host installed headers. ### 2020-03-31 - Initial Release.