Did you see marbius's post on page 2? His version of DD-WRT also didn't support curl and this was his solution:
marbius wrote:
This DD-WRT version (Firmware: DD-WRT v3.0-r37305 std ( 10/10/18 ) does not support curl ssh commands, so for the putty commands I just had to put the command line in the windows command prompt and it gave me the IP.
This is assuming you have a Windows PC to test this. I tried it just now and it worked for me. If you don't have curl already installed, here's an install tutorial:
Also, did you try part 2-B of the Wireguard guide? It's a workaround specifically for the off-chance that you can't get an IP with your public key. Even if curl worked, sometimes you won't get a response from Mullvad because their servers are down or something.
Dear Hellakenut Hi!!
Finally I Use this command in power shell to get ip from Mullvad
here you are
curl.exe https://api.mullvad.net/wg/ -d account=xxxxxxxxxxxxxxxx --data-urlencode pubkey=lRqGzRVEfFxtAM1KsNCidR0UdEs0qMA6Pzx8122Slz8=
just added curl.exe at the first and before all this I enabled developer mode
now it's Okay and I'm able to use mullvad servers in my router
Joined: 22 Mar 2019 Posts: 27 Location: Gamma Quadrant
Posted: Wed Sep 11, 2019 0:30 Post subject:
As far as I know, yes it is possible to set up a Wireguard server in DD-WRT. Unfortunately, doing that is beyond the scope of this guide and my own knowledge, so I personally can't help you with that specific setup. Since this guide was meant to be a client setup tutorial, I'm not sure how much the info here will aid with a server setup.
However, in one of the topics I linked, ersterhernd referred to the following guide for setting up his Wireguard server. Albeit, it's rather vague and assumes you know your way around a Linux terminal to do the tasks (you must also know how to incorporate this information with DD-WRT):
As far as I know, yes it is possible to set up a Wireguard server in DD-WRT. Unfortunately, doing that is beyond the scope of this guide and my own knowledge, so I personally can't help you with that specific setup. Since this guide was meant to be a client setup tutorial, I'm not sure how much the info here will aid with a server setup.
However, in one of the topics I linked, ersterhernd referred to the following guide for setting up his Wireguard server. Albeit, it's rather vague and assumes you know your way around a Linux terminal to do the tasks (you must also know how to incorporate this information with DD-WRT):
I appreciate your reply. Seems like a complicated process. All the guides I could find are for client setups but I would like to run a Windows Server behind the vpn and have clients access that server . Will have to research this. Thanks.
Seems like a complicated process. All the guides I could find are for client setups but I would like to run a Windows Server behind the vpn and have clients access that server . Will have to research this.
The main issue is that the integration seems not to be further supported or developed by the DD-WRT team, i.e., the performance of the Wireguard server is underwhelming in contrast to OpenVPN, and there is no status or dedicated logging mechanism for the Wireguard connections
Joined: 18 Mar 2014 Posts: 12881 Location: Netherlands
Posted: Thu Nov 28, 2019 9:32 Post subject:
For all of you who want to use Wireguard as a server (actually it is a peer to peer protocol and the role of server or client is only defined by the routing and IP tables rules (well perhaps the use of an endpoint))
Joined: 22 Mar 2019 Posts: 27 Location: Gamma Quadrant
Posted: Wed Mar 25, 2020 15:47 Post subject:
Glad to hear it! Wireguard functionality continues to be going strong on my end as well.
I went ahead and made some updates to the guide. Mullvad has switched up their website's UI a bit, so the screenshots for generating Wireguard config files are now current.
Joined: 10 Jul 2012 Posts: 28 Location: Sint Maarten, D.W.I
Posted: Wed Apr 01, 2020 14:14 Post subject: Use of 'downloaded file'
Good day,
Thank you for your time to make the script. Although it doesn't work for me yet (I want to use TunSafe) I am still busy editing to find the issue.
That made me come up with this suggestion, to make it dummy-proof.
Is it an idea to copy/paste the results of the downloaded file like below into your script, so that the values are taken into the setup easily?