D-LINK DSR 1000ac OpenVPN fetching IP problem

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
dmlage
OpenVpn Newbie
Posts: 1
Joined: Thu Oct 18, 2018 9:19 am

D-LINK DSR 1000ac OpenVPN fetching IP problem

Post by dmlage » Thu Oct 18, 2018 9:34 am

Hello all,

I configured an OpenVPN Server on the D-Link DSR 1000ac Router and tested a basic client settings based on the Fórum and network search.

However I've been struggled with a stranger problem. After a day or something, I can access the Router via VPN, I have access to every device on the Router LAN but it doesn't fetch the public IP, so I don't have access to the internet.

This could be a configuration problem, but surprisingly if I restart the Router, the VPN starts working perfectly again.

Has anyone ever had this type of problem? Or someone can point me some kind of resolution ?

This is my client configuration file:

Code: Select all

                        
client
port 1723
proto udp
remote X.X.X.X
dev tun
cipher AES-256-CBC
auth-user-pass
auth SHA1
nobind
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

</ca>
<cert>
Certificate:
...
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----

</key>
redirect-gateway def1

Post Reply