Posted: Thu Jan 13, 2022 22:52 Post subject: DDWRT router as WireGuard client to PIVPN server
Are there any tutorials or guides on connecting a DDWRT router as WireGuard client to a personal Wireguard PiVPN server? I have seen guide for commercial provider but none to a personal server on a Raspberry Pi. Thank you.
For a client simply add/import the client config file which is made by the server.
Thank you. I did that, but is there a command on the Wireguard PIVPN server to add to the client config file the "Local Public Key" generated by DDWRT?
Joined: 18 Mar 2014 Posts: 9605 Location: Netherlands
Posted: Fri Jan 14, 2022 16:29 Post subject:
It works the other way around, usually the server generates the key pair for the client (at least that is how it works in DDWRT and other implementations).
The server saves the public key and uses that. Furthermore the server adds the private key to the config file for the client to use together with the other necessary settings.
The client then uses that private key (and calculates the public key again from it and will show that)