Page 1 of 1

GL-INet Slate router and CS wireguard

Posted: Mon Sep 06, 2021 11:50 pm
by supashot
FIrst post with 2 separe topic I will cut in 2 topic/post.



I have a GL-Inet Slate GL-AR750s(https://www.gl-inet.com/products/gl-ar750s/), I'm trying find a way to setup cryptostorm wireguard for the past hours but no chance so far. Anyone tried?
The Slate has 3 options to setup wireguard known VPN servers (only 2 competitors), paste configuration and the manual filling fields(Image

To add a peer cryptostorm requieres your token (paid) and your public key. Can we have an option to generate a public key like VPN.ac does then download the configuration files that we import after? All this part is on their panel side.

BTW yes OpenVPN profiles work fine but there's no comparaison with wireguard speed.

Any suggestions or idea much appreciated.

Re: GL-INet Slate router and CS wireguard

Posted: Sat Sep 11, 2021 12:14 am
by df
It's just bad security if we generated your public key for you like that, since we would also have to generate your private key too. There's just too many security issues with doing something like that in the browser.

Most routers I've seen that support WireGuard don't have any way to generate keys from their web interface. You'll probably need to SSH into the device and manually run a command like:

wg genkey | tee privatekey | wg pubkey > publickey

That'll generate a private key and save it to the file 'privatekey', and from that it'll generate a public key to the file 'publickey'.
To view each one do `cat privatekey` or `cat publickey`
Most likely the router's web interface will ask for that private key. Our website needs the public key.

If you can't SSH into the device, another option is to use the official WireGuard app on any other device. Just create an empty profile, copy down the private key and public key that's generated from there, and feed the private key into the router's web interface, and the public key into our cryptostorm.is/wireguard. We don't have a GL-Inet device to test with, so I'm not sure what the exact position of the buttons/pages are, but it's generally the same concept with all supported routers (generate keys, import keys into interface, add peer, setup networking so all traffic goes through wg0, etc.)