qr-wireguard-ui
Quantum Resistant WireGuard UI for NanoPi
wireguard-ui(open source project) + webUI backend + quantum resistant wireguard kernel on NanoPi
It's currently in development. 😎
How to build
$ vi ./build_qrwg.sh
YOUR_LOCAL_PATH=XXX <------- Fix this toolchain path with yours.
TOOLCHAIN_PATH=$YOUR_LOCAL_PATH/friendlywrt23-rk3328/friendlywrt/staging_dir/toolchain-aarch64_generic_gcc-12.3.0_musl/bin
...
~
$ ./build_qrwg.sh release
...
$ cd output
$ ls -l
-rw-rw-r-- 1 chyi chyi 14936118 1월 2 16:15 qr_wireguard_0.9.00.tar.gz
How to install on NanoPi
<Ubuntu 22.04 LTS>
$ scp ./qr_wireguard_0.9.00.tar.gz root@192.168.2.1:~/workspace
$ ssh root@192.168.2.1
<NanoPi R2S Plus/FriendlyWrt 23.05.3>
# cd /root/workspace
# tar xvzf qr_wireguard_0.9.00.tar.gz
# cd qr_install
# ./Install.sh
-> the nanopi will be rebooted
<Ubuntu 22.04 LTS>
$ ssh root@192.168.2.1
nanopi login: root
Password:
___ _ _ _ __ __ _
| __| _(_)___ _ _ __| | |_ \ \ / / _| |_
| _| '_| / -_) ' \/ _` | | || \ \/\/ / '_| _|
|_||_| |_\___|_||_\__,_|_|\_, |\_/\_/|_| \__|
|__/
-----------------------------------------------------
FriendlyWrt 23.05.3, r23809-234f1a2efa
-----------------------------------------------------
Build On Jan 2 2025 16:15:52
nanopi> en
nanopi# configure terminal
nanopi(config)# ?
bridge add/modify the bridge information
end End a cli
exit Exit current mode and down to previous mode
hostname Set system's network name
ip IP information set
nameserver Config the dns server
no Negate a command or set its defaults
ping Send echo messages
poweroff Power off the system
reboot Reboot the system
sfirewall Configure smart firewall rules
show Show running system information
ssh Open a ssh connection
wg Configure WireGuard rules
write Write running configuration to memory, network, or terminal
nanopi(config)#
Good luck~
Slowboot
My blog posting for this project
For more information, please read the blog posting below.
https://slowbootkernelhacks.blogspot.com/2025/01/quantum-resistant-wireguard-from-ui-to.html
Reference codes
a) webui project by ngoduykhanh Khanh Ngo
https://github.com/ngoduykhanh/wireguard-ui
b) my quantum resistant layer 2 wireguard project
https://github.com/ChunghanYi/qr-l2-wireguard
<1> wireguard-ui project is created by ngoduykhanh Khanh Ngo.
<2> WireGuard is a registered trademark of Jason A. Donenfeld.