D-Link Forums
D-Link VPN Router => DSR-250 => Topic started by: Clonimus74 on December 03, 2020, 11:15:32 PM
-
Hi,
My DSR-250 is unning the latest firmware 3.17B401C_WW.
I can't figure out how to establish VPN connection, using OpneVPN, with my Android Phone (OpenVPN app)
Can anyone help?
Thank you
-
If you created a OpenVPN on the DSR-250 do PCs with the certificate connect with any issues.
-
I tried with both a PC and Android phone, with the same results.
I don't know how to properly create the certificate.
Here is what I did:
I went to Security»Authentication»Internal User Database»Groups and Users add an group and user for openvpn
I did the following in the OpenVPN settings
(https://i.postimg.cc/W3YvsCPH/Open-Vpn-Settings.jpg)
In "remote network I have no idea what I should put there, as there's no constant network from which I will be connecting, I'm connecting from the internet and not some known local network.
(https://i.postimg.cc/kXfhzKqT/Opne-Vpn-Remote-Network.jpg)
In OpenVPN app I entered my DDNS address, I tried with and without specifying the port number
(https://i.postimg.cc/jSTPHkG9/openvpnlogin.jpg)
I received an error: "Faild to import profile - Host is unreachable"
I tried to go to the VPN>>OpenVPN>>omni Ssl Configuration, and tried to add and download new client configuration file (ovpn), and load it to the OpenVPN phone app, and I received the error: "Failed to parse profile: option_error: remote option not specified"
-
3. Now go to VPN»OpenVPN»Remote Networks to setting remote client network informations,
Server need to Push routes to the client(If client had private network behind it) to allow it to reach other private subnets behind the server.
Hence we need to add remote networks in server as follows.
i.For userbased authentication:
common name:"User name which client used to connect"
Remote network:"Private network of the client"
remote netmask:"Remote private network's subnet mask"
ii.For certificate based only or userbased+ certificate based authentication:
common name:"common name of the client certificate" (default certificate common name is client)
Remote network:"Private network of the client"
remote netmask:"Remote private network's subnet mask"
-
But what would be the values of:
Remote network:"Private network of the client"
remote netmask:"Remote private network's subnet mask"
If I'm using an Android phone that doesn't have static IP (not sure about the subnet mask, if it is constant)????
3. Now go to VPN»OpenVPN»Remote Networks to setting remote client network informations,
Server need to Push routes to the client(If client had private network behind it) to allow it to reach other private subnets behind the server.
Hence we need to add remote networks in server as follows.
i.For userbased authentication:
common name:"User name which client used to connect"
Remote network:"Private network of the client"
remote netmask:"Remote private network's subnet mask"
ii.For certificate based only or userbased+ certificate based authentication:
common name:"common name of the client certificate" (default certificate common name is client)
Remote network:"Private network of the client"
remote netmask:"Remote private network's subnet mask"