Beiträge von peluka82

    I had to reconfigure my omv and now I can not get openvpn to work. :(


    I post my server.conf



    port 1194
    proto udp
    dev tun
    ca "/etc/openvpn/pki/ca.crt"
    cert "/etc/openvpn/pki/issued/raspberrypi.crt"
    key "/etc/openvpn/pki/private/raspberrypi.key" # This file should be kept secret
    dh "/etc/openvpn/pki/dh.pem"
    topology subnet
    server 10.8.0.0 255.255.255.0
    push "route 10.8.0.0 255.255.255.0"
    ifconfig-pool-persist ipp.txt
    ;push "route 255.255.255.0"
    push "redirect-gateway def1 bypass-dhcp"
    ;client-to-client
    keepalive 10 120
    comp-lzo
    plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
    user nobody
    group nogroup


    port: 1194
    use compression: yes
    PAM: yes


    VPN


    Address: 10.8.0.0
    MASK: 255.255.255.0
    Gateway interface: enxb827eb691307
    Default gateway: yes


    DHCP options
    empty


    Public:
    ****.ddns.net
    Thanks,

    Hello,I could make it work. The problem was in the configuration of the raspberry network card.In Lan / interfaces I added VLAN and everything worked correctly.Thank you very much for answering.

    Hello,My configuration is the following:



    port 1194
    proto udp
    dev tun
    ca "/etc/openvpn/pki/ca.crt"
    cert "/etc/openvpn/pki/issued/raspberrypi.crt"
    key "/etc/openvpn/pki/private/raspberrypi.key" # This file should be kept secret
    dh "/etc/openvpn/pki/dh.pem"
    topology subnet
    server 10.8.0.0 255.255.255.0
    push "route 10.8.0.0 255.255.255.0"
    ifconfig-pool-persist ipp.txt
    ;push "route 169.254.0.0
    192.168.1.0 255.255.255.0"
    push "redirect-gateway def1 bypass-dhcp"
    ;client-to-client
    keepalive 10 120
    comp-lzo
    plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
    user nobody


    My config:


    - port: 1194
    - use compression: yes
    - PAM: yes


    VPN
    - Address: 10.8.0.0
    - MASK: 255.255.255.0
    - Gateway interface: enxb827eb691307
    - Default gateway: yes



    DHCP options
    empty



    Public:
    ****.ddns.net





    thanks for answering so fast.

    Hi,I am trying to apply the solution in omv 4.1.3. and the server keeps responding "waiting for server".It's still working?Thank you.