Simple proof of concept, to demonstrate a way to bypass Unifi Protect VPN restrictions.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details. For full license text, see http://www.gnu.org/licenses.
The PoC does only work in combination with the Android App https://github.com/LFE89/UnifiProtectVpnLauncherApp. The following sequence diagramm illustrates the work.
Release available under "releases".
- Get discovery payload of your devices (e.g. by make use of client.js of https://github.com/bahamas10/unifi-proxy)
- Install app on Unifi CK Gen 2 appliance (activate SSH).
- Start UnifiProtectVpnDeviceApp with hex representation of discovery payload of step 1.
- Start UnifiProtectVpnLauncherApp (https://github.com/LFE89/UnifiProtectVpnLauncherApp)
vpnhelper -h
Usage of vpnhelper:
-payload string
Discovery payload (hex value, e.g. 0100009102000...)

