1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Mullvad .ovpn error? Unrecognized option or missing or extra parameter

Discussion in 'NETGEAR AC Wireless' started by Tume, Oct 28, 2019.

  1. Tume

    Tume Occasional Visitor

    Joined:
    Oct 9, 2018
    Messages:
    15
    Hello. I have problem with R7800, Voxel FW (.72) and Mullvad OpenVPN

    .ovpn file
    Code:
    client
    dev tun
    proto udp
    
    remote fi.mullvad.net 1196
    
    cipher AES-256-CBC
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    verb 3
    remote-cert-tls server
    ping 10
    ping-restart 60
    sndbuf 524288
    rcvbuf 524288
    
    auth-user-pass mullvad_userpass.txt
    ca mullvad_ca.crt
    
    service mullvadopenvpn
    block-outside-dns
    
    tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    
    This doesn't work and log said:

    Code:
    Options error: Unrecognized option or missing or extra parameter(s) in /tmp/openvpn/ovpnclient.ovpn:22: service (2.4.7)
    Use --help for more information.
    Error: OpenVPN client start failed.
    I found that the exactly problem is those 2 lines:


    Code:
    service mullvadopenvpn
    block-outside-dns
    If I remove those, it works. But the 1000 dollar question is, why? Now mullvad own test say that my DNS is leaking. Do I just keep dnscrypt v2 on and forgot that warning?

    - Tume
     
  2. Tume

    Tume Occasional Visitor

    Joined:
    Oct 9, 2018
    Messages:
    15
    Problem solved


    Code:
    client
    dev tun
    proto udp
    
    remote fi.mullvad.net 1302
    
    cipher AES-256-CBC
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    verb 3
    remote-cert-tls server
    ping 10
    ping-restart 60
    sndbuf 524288
    rcvbuf 524288
    
    fast-io
    
    auth-user-pass mullvad_userpass.txt
    ca mullvad_ca.crt
    
    tun-ipv6
    script-security 2
    up /etc/openvpn/update-resolv-conf
    down /etc/openvpn/update-resolv-conf
    
    tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    
    This worked like a charm. I still hope Wireguard add to Voxel FW.
     
    Voxel likes this.
  3. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    Tume likes this.
  4. aquintus

    aquintus New Around Here

    Joined:
    Nov 14, 2019
    Messages:
    1
    Hello,
    I have exactly the same problem with Mullvad VPN. I have tried to change the config like you did, sadly without success.
    I would be really grateful for help.
    -aquintus