OpenVPN on DietPi (as DNS) and separate OMV Sever: can't connect to OMV :(

  • Hi there,


    I have some troubles setting up my Openvpn on a DietPie (running as DNS / PiHole) and a seperate OMV NAS.
    I'm trying to get the connection to the NAS (webGUI + SMB) via OpenVPN (except there's a better way?)
    What I still got working is acess to Internet via VPN and I can connect to Router (running on 192.168.xxx.1) und DietPi (192.168.xxx.2)


    What I've done so far:


    1. Setting up Router with
    - 192.168.xxx.2 as DNS-server
    - portfowarding of udp 1194 on 192.168.xxx.2
    - a route from 10.8.0.0 to 192.168.xxx.2


    2. Running OpenVPN on Dietpi with this config (comes from PiVPN):


    Router is defined as DNS in server.conf, but forwards to DietPi / PiHole on 192.168.xxx.2


    3. Iptables on OMV machine:



    If you have any ideas how to solve my problem, please let me know....


    Viele Grüße
    Martin

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!