Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Newbie
    Join Date
    Sep 2019
    Posts
    6

    Default Tunnel Won't Connect with Mullvad

    I am trying to set up a Mullvad VPN tunnel. I've followed these forum user guides without any success:

    "Assistance connecting with Mullvad VPN .ovpn file"
    https://forums.untangle.com/tunnel-vpn/39225-assistance-connecting-mullvad-vpn-ovpn-file.html
    "Using Untangle as a Router, DNS, and OpenVPN with third party VPN Provider"
    https://forums.untangle.com/networking/39970-using-untangle-router-dns-openvpn-third-party-vpn-provider.html

    At first I was trying to use the OpenVPN app until I read these guides and I am still unable to connect using TunnelVPN.

    Here is what my config file looks like, edited by the guide's recommendations:

    Code:
    client
    dev tun
    proto udp
    remote ca.mullvad.net 1197
    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
    ca mullvad_ca.crt
    
    
    
    tun-ipv6
    script-security 2
    
    
    
    
    
    tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    My logs are showing this:
    Code:
    WARNING: cannot stat file 'auth.txt': No such file or directory (errno=2)
    Options error: --auth-user-pass fails with 'auth.txt': No such file or directory
    Options error: Please correct these errors.
    I am certain that I am using the right username/pass and that my subscription is active. I'm downloading from
    https://mullvad.net/en/download/config/
    and selecting linux as my platform.

    The forum guide has me unzip the archive, edit the config (as shown) and rezip the file. What I'm not sure of is if there is a specific file structure that I must follow? My zip contains only the config file and the cert, no folders.
    I have tried uploading the conf as a custom ovpn/openvpn file with no luck.

    I would greatly appreciate any advice. Thank you!
    Last edited by zack2137; 09-12-2019 at 04:15 PM.

  2. #2
    Newbie
    Join Date
    Dec 2019
    Posts
    1

    Default

    Quote Originally Posted by zack2137 View Post
    My logs are showing this:
    Code:
    WARNING: cannot stat file 'auth.txt': No such file or directory (errno=2)
    Options error: --auth-user-pass fails with 'auth.txt': No such file or directory
    Options error: Please correct these errors.
    According to the error, it's expecting your user & pass to be in a separate file called 'auth.txt' but can't find it.

  3. #3
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    8,516

    Default

    If you use user/password, an auth.txt file, you create, with the user name and password in it is required.
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  4. #4
    Newbie
    Join Date
    Sep 2019
    Posts
    6

    Default

    Thank you for the reply.
    I created a text file that I renamed auth and zipped it with the config file with no luck. I then tried removing any reference to "auth.txt" from the config file and also had no luck. I'm not sure exactly why it's asking for auth.txt or why it can't find it.

  5. #5
    Newbie
    Join Date
    Oct 2018
    Posts
    6

    Default

    This might help:

    When you download the config file from Mullvad, log into your Mullvad account, navigate to the "OpenVPN configuration file generator" page (I'd put the link, but this forum blocks links), download the "Android/Chrome OS" ovpn config file, not the "Linux" zip file.

    Then, when setting up the Tunnel VPN config in Untangle, make sure to select the provider "Custom ovpn file with username/password".
    For the username, type in your Mullvad account number.
    For the password, simply type the letter "m".

    That should get you connected, as that works for me.

    Let me know if you need additional help.

  6. #6
    Newbie
    Join Date
    Sep 2019
    Posts
    6

    Default

    Thank you for the reply.

    I tried the Android/Chrome OS config with username/password and no luck. I've tried all of the other config options, and each time I get the same exact error in the logs.
    I think this issue may be bigger than just the Tunnel VPN App? But I can't imagine why the log specifically calls out to not seeing "auth.txt" when it was never referenced in the config file. I suppose I can only keep playing around with it.

  7. #7
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    8,516

    Default

    Quote Originally Posted by zack2137 View Post
    I think this issue may be bigger than just the Tunnel VPN App? But I can't imagine why the log specifically calls out to not seeing "auth.txt" when it was never referenced in the config file. I suppose I can only keep playing around with it.
    This is due to the provider connection requesting a login/password during connection. The auth file has to be in a specific path.
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  8. #8
    Newbie
    Join Date
    Sep 2019
    Posts
    6

    Default

    Quote Originally Posted by jcoffin View Post
    This is due to the provider connection requesting a login/password during connection. The auth file has to be in a specific path.
    Thank you for the reply.
    Do you know where I can find out exactly what the specific file path should be? Or how I need to structure the zip file, assuming then that the provider should be custom zip?

    Thank you

  9. #9
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    8,516

    Default

    First do you know for sure if your VPN provider is requiring a login and password along with the cert?

    https://wiki.untangle.com/index.php/Tunnel_VPN#Tunnels
    The auth file is at the same level as the ovpn file in the zip. Careful re-zipping the files as many zip programs include the holding directory. Also make sure the correct profile is selected. This is listed in the link above.
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  10. #10
    Newbie
    Join Date
    Sep 2019
    Posts
    6

    Default

    I'm pretty certain that Mullvad requires a login and password.
    I'm using WinRAR to zip the files. Making sure that auth.txt and the config file in the same directory (using no folders) the tunnel still won't connect and I get the same error. Using the custom zip file with and without the username/password profile option yield the same results. I'm sure my user and pass are correct as I can access my VPN on another device using the same credentials through the OpenVPN app.
    What really concerns me is that if I edit the config file and remove the reference to auth.txt, the log still provides the error stating that I can't find auth.txt . Why is it looking for it in the first place, especially if I select the profile with username/password?

    Thank you

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2