This installs WireGuard Session Manager
on your router.
Author: Martineau
https://www.snbforums.com/forums/asuswrt-merlin-addons.60/?prefix_id=32&starter_id=13215
Contributors: odkrys, Torson, ZebMcKayhan, jobhax, elorimer
Sh0cker54, here1310, defung, The Chief
_____________________________________________
Continue? [1=Yes e=Exit] 1
Creating 'wg_manager' alias for 'wg_manager.sh'
+======================================================================+
| Welcome to the WireGuard® Manager/Installer script (Asuswrt-Merlin) |
| |
| Version v4.18 by Martineau |
| |
| Requirements: HND or AX router with Kernel 4.1.xx or later |
| e.g. RT-AC86U or RT-AX86U etc. |
| |
| USB drive with Entware installed |
| |
| ******************************************************************** |
| * NOTE: WireGuard® is incompatible with Hardware Acceleration * |
| * You can disable Hardware Acceleration using command * |
| * * |
| * E:Option ==> fc disable * |
| * * |
| * but you will most likely limit the throughput via WAN * |
| * to match the maximum WireGuard® speed * |
| ******************************************************************** |
| |
| 1 = Install WireGuard |
| o1. Enable firewall-start protection for Firewall rules |
| o2. Enable DNS |
| |
| |
+======================================================================+
WireGuard® ACTIVE Peer Status: Clients 0, Servers 0
1 = Begin WireGuard® Installation Process
e = Exit Script [?]
E:Option ==> 1
Installing WireGuard® Manager - Router RT-AC86U (v386.7_2) arch=aarch64
Downloading scripts
wg_client downloaded successfully
wg_server downloaded successfully
UDP_Updater.sh downloaded successfully
wg_ChkEndpointDDNS.sh downloaded successfully
wg_manager.asp downloaded successfully
Help.md downloaded successfully
wgmExpo.sh downloaded successfully
Package column (2.38-2) installed in root is up to date.
Package coreutils-mkfifo (9.1-1) installed in root is up to date.
Package p7zip (16.02-3) installed in root is up to date.
Creating/Updating WireGuard® configuration file '/jffs/addons/wireguard/WireguardVPN.conf' (v4.18)
Creating 'wg_manager' alias for 'wg_manager.sh'
Warning: Aliases and shell functions for wg_manager.sh already exist
No Peer entries to auto-migrate from '/jffs/addons/wireguard/WireguardVPN.conf', but you will need to manually import the 'device' Peer '*.conf' files:
[✔] WireGuard® Peer SQL Database Initialised OK
Peers (Auto start: Auto=P - Policy, Auto=S - Site-to-Site)
Peers (Auto=X - External i.e. Cell/Mobile/Site)
Creating WireGuard® 'Server' Peer (wg21)'
Creating WireGuard® Private/Public key-pairs for RT-AC86U (v386.7_2)
Initialising WireGuard® VPN 'server' Peer
Requesting WireGuard® VPN Peer start (wg21)
wg_manager-serverwg21: Initialising WireGuard® VPN 'Server' Peer (wg21) on 10.50.1.1:51820 (# RT-AC86U Server #1)
RTNETLINK answers: Operation not supported
Unable to modify interface: Protocol not supported
Unable to modify interface: Protocol not supported
Cannot find device "wg21"
***ERROR Initialisation ABORTED - 'wg setconf wg21 /tmp/wg21.27321 (/opt/etc/wireguard.d/wg21.conf)' FAILED
[✔] Statistics gathering is ENABLED
firewall-start updated to protect WireGuard® firewall rules
Restarting DNSmasq to add 'wg*' interfaces
Done.
Event scripts
Adding Peer Auto-start
@boot
Installing QR rendering module
Package qrencode (4.1.1-1) installed in root is up to date.
Installing xargs module
Package findutils (4.9.0-1) installed in root is up to date.
Do you want to create a 'device' Peer for 'server' Peer (wg21) ?
Press y to create 'device' Peer or press [Enter] to skip
WireGuard® Peer Status
v4.18 WireGuard® Session Manager install COMPLETED.
WireGuard® ACTIVE Peer Status: Clients 0, Servers 0
1 = Begin WireGuard® Installation Process
e = Exit Script [?]
E:Option ==>