Problem with openVPN and DDNS

  • Hello,


    Currently, I access my server with a DDNS : administration page, plex etc. => everything is OK.


    I will like to secure the other fonctionnalities with a VPN.
    I installed OpenVpn and configured it.
    But when I start VPN, I lose the connection with DDNS.


    How it's possible? The DDNS is known by the Box, and the box knows the static ip and MAC.
    How the VPN change this connection?


    Is it possible to made what I want or I'm obliged to use OpenVpn client with all my devices?


    Thanks for your answers.

  • Yes on local I have no problem.


    But the server is not at home, and I need to manage it at distance.
    Plex doesn't work with vpn connected and I use it on train.


    A solution possible?

  • Hello,


    I will try to better explain my problem :P


    Currently, my server isn't at home, and I use DDNS to access on the administration page (xxxxxx.ddns.net), FTP to download and upload files : it works fine.
    I installed and configured openvpn as client (http://asaji.me/articles/how-t…envpn-openmediavault.html)


    But when I start VPN, I lose the connection with DDNS.
    I would like to keep my access with ddns. Is it possible?


    Zitat von ccmm

    Excellent, use the local IP to VPN is a great solution

    But I must to connect with a client (as https://openvpn.net/community-downloads/)?


    Thanks

  • As soon as you are properly connected, you can use the local IP.
    The fact that this seems not to work indicates that your VPN connection is not ok.
    How did you verify that?


    ... but I think I mentioned all that before.

  • When the VPN is started : curl ifconfig.me => return an ip adress of the selected country.


    When the VPN is stopped : curl ifconfig.me => return my home ip adress.




    Maybe my configuration is not good, I stayed focused on my dns problem.
    What should I watch?



    Edit : on local, no problem. My server is accessible.

  • Selected country???
    You have no DDNS problem.
    You lack understanding, sorry to say that. And you do not follow the directions given to you. Sorry, but I fear this will not work.


    The tutorial you follow is for protecting your privacy, that is to hide your IP from jurisdiction. You connect your OMV box to some internet server.
    That is not what you want. You want to setup your OMV box as server and your Laptop as client.


    This may be an alternative for you:
    [HowTo] WireGuard with OMV Super-Easy
    It uses wireguard instead of OpenVpn.


    Greetings,
    Hendrik

  • Thank you for your reply.


    I think my "openvpn solution" is not good.
    I want to protect my privacy with "vpn". But I like to manage my server with remote connection.
    I don't know if it's possible.


    In my head : the DDNS knew the internet box and the box the internal IP address of the server. So it was "independent" of the VPN => it's probably a mistake.


    I didn't know WireGuard, I will watch.

  • > I likee to secure the other fonctionnalities with a VPN.


    That is what you wrote.
    I am a bit tired of helping, as we were going in the wrong direction due to your imprecise writing.
    Improve that please.
    Before continuing, you should define what you intend and read what VPN is.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!