Skip to content

Commit 072602d

Browse files
committed
Add support for WireGuard
Almost full support for WireGuard admin@server:/> show interface wg0 name : wg0 type : wireguard index : 10 mtu : 1420 operational status : up ipv4 addresses : 10.0.0.1/24 (static) ipv6 addresses : fd00::1/64 (static) peers : 2 Peer 1: public key : ROaZyvJc5DzA2XUAAeTj2YlwDsy2w0lr3t+rWj2imAk= status : UP endpoint : 192.168.10.2:51821 latest handshake : 2025-12-09T22:51:38+00:00 transfer tx : 1412 bytes transfer rx : 1324 bytes Peer 2: public key : Om9CPLYdK3l93GauKrq5WXo/gbcD+1CeqFpobRLLkB4= status : UP endpoint : 2001:db8:3c4d:20::2:51822 latest handshake : 2025-12-09T22:51:38+00:00 transfer tx : 1812 bytes transfer rx : 428 bytes in-octets : 1752 out-octets : 3224 admin@server:/>
1 parent 07ae98b commit 072602d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3097
-16
lines changed

board/aarch64/linux_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y
244244
CONFIG_NETDEVICES=y
245245
CONFIG_BONDING=m
246246
CONFIG_DUMMY=m
247+
CONFIG_WIREGUARD=m
247248
CONFIG_MACVLAN=m
248249
CONFIG_MACVTAP=m
249250
CONFIG_IPVLAN=m

board/x86_64/linux_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y
191191
CONFIG_NETDEVICES=y
192192
CONFIG_BONDING=m
193193
CONFIG_DUMMY=m
194+
CONFIG_WIREGUARD=m
194195
CONFIG_MACVLAN=m
195196
CONFIG_MACVTAP=m
196197
CONFIG_IPVLAN=m

configs/aarch32_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ BR2_PACKAGE_OPENSSH=y
8282
BR2_PACKAGE_SOCAT=y
8383
BR2_PACKAGE_TCPDUMP=y
8484
BR2_PACKAGE_WHOIS=y
85+
BR2_PACKAGE_WIREGUARD_TOOLS=y
8586
BR2_PACKAGE_BASH_COMPLETION=y
8687
BR2_PACKAGE_SUDO=y
8788
BR2_PACKAGE_GETENT=y

configs/aarch32_minimal_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ BR2_PACKAGE_OPENSSH=y
8282
BR2_PACKAGE_SOCAT=y
8383
BR2_PACKAGE_TCPDUMP=y
8484
BR2_PACKAGE_WHOIS=y
85+
BR2_PACKAGE_WIREGUARD_TOOLS=y
8586
BR2_PACKAGE_BASH_COMPLETION=y
8687
BR2_PACKAGE_SUDO=y
8788
BR2_PACKAGE_GETENT=y

configs/aarch64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ BR2_PACKAGE_TCPDUMP=y
102102
BR2_PACKAGE_TRACEROUTE=y
103103
BR2_PACKAGE_ULOGD=y
104104
BR2_PACKAGE_WHOIS=y
105+
BR2_PACKAGE_WIREGUARD_TOOLS=y
105106
BR2_PACKAGE_BASH_COMPLETION=y
106107
BR2_PACKAGE_NEOFETCH=y
107108
BR2_PACKAGE_SUDO=y

configs/aarch64_minimal_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ BR2_PACKAGE_OPENSSH=y
8585
BR2_PACKAGE_SOCAT=y
8686
BR2_PACKAGE_TCPDUMP=y
8787
BR2_PACKAGE_WHOIS=y
88+
BR2_PACKAGE_WIREGUARD_TOOLS=y
8889
BR2_PACKAGE_BASH_COMPLETION=y
8990
BR2_PACKAGE_SUDO=y
9091
BR2_PACKAGE_KMOD_TOOLS=y

configs/x86_64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ BR2_PACKAGE_TCPDUMP=y
9898
BR2_PACKAGE_TRACEROUTE=y
9999
BR2_PACKAGE_ULOGD=y
100100
BR2_PACKAGE_WHOIS=y
101+
BR2_PACKAGE_WIREGUARD_TOOLS=y
101102
BR2_PACKAGE_BASH_COMPLETION=y
102103
BR2_PACKAGE_NEOFETCH=y
103104
BR2_PACKAGE_SUDO=y

configs/x86_64_minimal_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ BR2_PACKAGE_OPENSSH=y
8080
BR2_PACKAGE_SOCAT=y
8181
BR2_PACKAGE_TCPDUMP=y
8282
BR2_PACKAGE_WHOIS=y
83+
BR2_PACKAGE_WIREGUARD_TOOLS=y
8384
BR2_PACKAGE_BASH_COMPLETION=y
8485
BR2_PACKAGE_SUDO=y
8586
BR2_PACKAGE_GETENT=y

doc/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ All notable changes to the project are documented in this file.
1919
>
2020
> - WiFi Access Point (AP) mode support with multi-SSID capability
2121
> - RIPv2 routing support
22+
> - WireGuard support
2223
2324
### Changes
2425

@@ -47,6 +48,7 @@ All notable changes to the project are documented in this file.
4748
moved to `wifi/station` container. Existing Wi-Fi interfaces will be
4849
removed during upgrade (for the rest of the configuration to apply)
4950
and you need to reconfigure them again. See [wifi.md](wifi.md) for details
51+
- Add support for WireGuard VPN tunnels.
5052

5153
### Fixes
5254

0 commit comments

Comments
 (0)