Как настроить mullvad vpn

Содержание
  1. Install Mullvad app on Windows
  2. Installation requirements
  3. Windows 7, 8 and 8.1 end of support notice
  4. Download and install the app
  5. Uninstall the app (Windows 10)
  6. OpenVPN installation on Linux
  7. Installation instructions
  8. Ubuntu / Debian — using the terminal
  9. Ubuntu — using NetworkManager
  10. Fedora — using the terminal
  11. Switching to a different server
  12. Disabling auto-start
  13. Enabling a kill switch
  14. Troubleshooting
  15. I have disabled IPv6 and OpenVPN exits with a fatal error.
  16. Permission issue on /etc/resolv.conf
  17. Is your browser leaking?
  18. Using the Mullvad VPN app
  19. Installation guides
  20. What this guide covers
  21. Starting up Mullvad
  22. Create account
  23. Log in
  24. Too many devices
  25. Connect
  26. Connection status — know when you are connected
  27. Connection details
  28. Is your browser leaking?
  29. Reconnect
  30. Switch location
  31. Select a country
  32. Select a city
  33. Select a server
  34. Unavailable locations
  35. Filter by provider
  36. Disconnect
  37. Know when you are disconnected
  38. Update the app
  39. Temporarily blocked internet – kill switch on
  40. Settings menu
  41. Account
  42. Preferences
  43. Advanced
  44. App version
  45. Report a problem
  46. FAQs & Guides
  47. Language
  48. Quit app
  49. Preferences
  50. Launch app on start-up
  51. Auto-connect
  52. Block ads / Block trackers / Block malware / Block adult content / Block gambling
  53. Local network sharing
  54. Notifications
  55. Monochromatic tray icon
  56. Unpin app from taskbar (Windows only)
  57. Start minimized (Windows and Linux)
  58. Beta program
  59. Advanced
  60. Enable IPv6
  61. Always require VPN
  62. Split tunneling
  63. Tunnel protocol
  64. WireGuard settings
  65. Enable multihop
  66. IP version
  67. OpenVPN settings
  68. Transport protocol
  69. Bridge mode
  70. Mssfix
  71. Use custom DNS server

Install Mullvad app on Windows

Последнее обновление: 19 Январь 2022

This guide explains how to install and uninstall the Mullvad VPN app for Windows users.

Installation requirements

  • Windows 10 (64-bit) or Windows 11 (64-bit).

Windows 7, 8 and 8.1 end of support notice

Mullvad version 2021.6 was the last version that supported (64-bit) Windows 7, 8 and 8.1. Later versions will only work with Windows 10 and 11. Instead of using the Mullvad app you can use the WireGuard app or OpenVPN app.

Download and install the app

  1. Download the latest version of the app from our website.
  2. Open the downloaded file and follow the prompts to install the app.
  3. If you receive a User Account Control warning window like the one below, click on Yes.
  4. When the installation is completed click on Finish to start Mullvad.
  5. For instructions on how to use our app, continue to read Using the Mullvad VPN app.

Uninstall the app (Windows 10)

To uninstall the app from your computer, you’ll need to access the Windows settings.

  1. Click on the Windows Start button.
  2. Click on the Settings icon in the left column and then click on Apps.
  3. In the list of programs that appears, find Mullvad VPN and click on it to select it.
  4. Click on the Uninstall button and confirm that you want to uninstall the app.
  5. Windows will proceed to uninstall Mullvad and erase its local log files and cache. You’ll also have the option to remove your settings.
  6. Click on OK once it’s complete.

Источник

OpenVPN installation on Linux

Последнее обновление: 28 Октябрь 2021

This terminal-based guide walks you through the steps to connect to Mullvad VPN servers using OpenVPN.

Installation instructions

Follow the instructions for your particular Linux distribution below.

Ubuntu / Debian — using the terminal

  1. In a browser, navigate to our Configuration files page.
  2. Follow the instructions on that page to download a configuration file.
  3. Open up a terminal and navigate to the directory where you downloaded the file (usually

/Downloads/).

  • Open a terminal and issue the command unzip xxxx_xx.zip (replace xxxx_xx.zip with the name of the file you downloaded).
  • Issue sudo apt-get update && sudo apt-get upgrade .
  • Issue sudo apt-get install openvpn .
  • Copy the following files to /etc/openvpn/ (use sudo ):
    • mullvad_ca.crt
    • mullvad_xx.conf
    • mullvad_userpass.txt
  • Start OpenVPN with either sudo service openvpn start or sudo nohup openvpn —config /etc/openvpn/mullvad_xx.conf (where xx is the country or region you selected).
  • To check whether or not you are connected to Mullvad, you can run curl https://am.i.mullvad.net/connected .
  • Ubuntu — using NetworkManager

    1. Open a terminal and issue sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome .
    2. In a browser, navigate to our Configuration files page.
    3. Fill out the form. Under Platform, Android needs to be selected.
    4. Click Download to save the configuration file.
    5. Click on the Network icon.
    6. Click on VPN-Connections >Configure VPN.
    7. Click on Add.
    8. Select Import a saved vpn configuration.
    9. Navigate to where you saved the downloaded file, select it and then click open.
    10. In the user name field, enter your Mullvad account number (without any spaces).
    11. In the password field, enter «m«.
    12. Click Save.
    13. Issue sudo nano -w /etc/NetworkManager/NetworkManager.conf and change «dns=dnsmasq» to «#dns=dnsmasq», then save.
    14. Issue sudo service network-manager restart in a terminal.
    15. Click on Network icon >VPN Connections >Mullvad_xx («xx» is the country you selected to connect).

    Fedora — using the terminal

    1. Navigate to our Configuration files page.
    2. Follow the instructions on that page to download a configuration file.
    3. Open up a terminal and navigate to the directory where you downloaded the file (usually

    /Downloads/).

  • Run the command unzip xxxx_xx.zip (replace xxxx_xx.zip with the name of the file you downloaded).
  • Issue sudo dnf install openvpn resolvconf .
  • Copy the following files to /etc/openvpn/ (use sudo ):
    • mullvad_ca.crt
    • mullvad_xx.conf
    • mullvad_userpass.txt
    • update-resolv-conf
  • Issue sudo chmod 755 /etc/openvpn/update-resolv-conf
  • Start OpenVPN with either sudo service openvpn start or sudo nohup openvpn —config /etc/openvpn/mullvad_xx.conf (where xx is the country or region you selected).
  • To check whether or not you are connected to Mullvad, you can run curl https://am.i.mullvad.net/connected .
  • Switching to a different server

    In this example, we are changing from the default se server to the se-got-001 server.

    1. Open your .conf file (for example, mullvad_config_se.conf).
    2. Replace the first «remote se.mullvad.net 1300» with either «remote se-got-001.mullvad.net 1300» or «remote 185.213.154.131 1300» (the second example uses the server’s IP address).
    3. Save the file and then restart OpenVPN.
    Читайте также:  Как настроить клавиатуру на андроиде хонор 10 лайт

    Disabling auto-start

    By default, OpenVPN will be installed as a service, meaning that it will automatically start when you boot up your computer. You can disable this behavior by changing /etc/default/openvpn so that «AUTOSTART=none» is set.

    You will then have to manually start OpenVPN each time, with the command sudo service openvpn restart .

    Enabling a kill switch

    This example assumes that your network interfaces are on eth* and that you want to connect to our Swedish or Dutch servers and your DNS is set to use our public one.

    Issue the following in a terminal, replacing the IP ranges or IP addresses with the servers you wish to use. 193.138.218.74 is for our public DNS. If your system is not set up to use that DNS then make sure to check «Use IP addresses» in the advanced settings of the OpenVPN generator. Also note that outgoing ping (ICMP) requests will be blocked outside of the tunnel so you cannot ping the VPN server.

    sudo iptables -P OUTPUT DROP
    sudo iptables -A OUTPUT -o tun+ -j ACCEPT
    sudo iptables -A INPUT -i lo -j ACCEPT
    sudo iptables -A OUTPUT -o lo -j ACCEPT
    sudo iptables -A OUTPUT -d 255.255.255.255 -j ACCEPT
    sudo iptables -A INPUT -s 255.255.255.255 -j ACCEPT
    sudo iptables -A OUTPUT -o eth+ -p udp -m multiport —dports 53,1300:1302,1194:1197 -d 141.98.255.0/24,193.138.218.0/24,45.83.220.0/24,185.213.152.0/24,185.213.154.0/24,185.65.135.0/24,185.65.134.0/24 -j ACCEPT
    sudo iptables -A OUTPUT -o eth+ -p tcp -m multiport —dports 53,443 -d 141.98.255.0/24,193.138.218.0/24,45.83.220.0/24,185.213.152.0/24,185.213.154.0/24,185.65.135.0/24,185.65.134.0/24 -j ACCEPT
    sudo iptables -A OUTPUT -o eth+ ! -d 193.138.218.74 -p tcp —dport 53 -j DROP
    sudo ip6tables -P OUTPUT DROP
    sudo ip6tables -A OUTPUT -o tun+ -j ACCEPT

    Troubleshooting

    I have disabled IPv6 and OpenVPN exits with a fatal error.

    Edit the OpenVPN configuration and make the following changes:

    1. replace proto udp with proto udp4.
    2. replace proto tcp with proto tcp4.
    3. add pull-filter ignore «route-ipv6»
    4. add pull-filter ignore «ifconfig-ipv6»

    Permission issue on /etc/resolv.conf

    Issue sudo chmod 755 /etc/openvpn/update-resolv-conf

    Is your browser leaking?

    Use our Connection check to see if your browser is leaking information and therefore jeopardizing your privacy. This can occur even while connected to Mullvad.

    Источник

    Using the Mullvad VPN app

    Последнее обновление: 14 Июль 2022

    This guide explains how to use the Mullvad VPN desktop app (for Windows, macOS and Linux) and all of its features. We also have specific user guides for Android and iOS/iPadOS.

    Installation guides

    For help with downloading and installing the app see the following installation guides.

    What this guide covers

    • Starting up Mullvad
    • Create account
    • Log in
    • Too many devices
    • Connect
    • Switch location
    • Disconnect
    • Update the app
    • Temporarily blocked internet – kill switch always on
    • Settings menu
      • Account
      • Report a problem
      • Language
      • Quit app
    • Preferences
      • Launch app on start-up
      • Auto-connect
      • Block ads / Block trackers / Block malware
      • Local network sharing
      • Notifications
      • Monochromatic tray icon
      • Unpin app from taskbar (Windows only)
      • Start minimized (Windows and Linux)
      • Beta program
    • Advanced
      • Enable IPv6
      • Always require VPN
      • Split tunneling
      • Tunnel protocol
      • WireGuard settings
      • — Port
      • — Enable multihop
      • — IP version
      • — MTU
      • OpenVPN settings
      • — Transport protocol
      • — Bridge mode
      • — Mssfix
      • Use custom DNS server

    Starting up Mullvad

    When you start Mullvad for the first time you have two options:

    1. Create a new account — use this if you never had a Mullvad account or you want to make a new one.
    2. Log in with an existing account — use this if you already generated an account on our website that you want to use.

    Create account

    If you don’t yet have an account number, click Create account and a new account number will be created for you.

    To start using the app, you need to add time to your account. You can either buy credit on our website or redeem a voucher that you received, or bought from one of our resellers.

    Log in

    Enter your Mullvad account number and hit Enter or click the green button with an arrow.

    If you click in the empty account number field, the last account number that you used will be displayed. If you want to remove this, click on the delete icon on the right side of the number.

    Too many devices

    If you login on an account that already have 5 devices you will be notified about this.

    To be able to login you will need to remove one of the devices by clicking the X to the right of the device name

    Click «Yes, log out device»

    You can now click «Continue with login» to login with the device.

    Connect

    Once you have logged in with an account number that has time on it, you can click on Secure my connection to connect to Mullvad VPN. You can see the status of your connection on the app’s connection screen.

    By default, the app will initially connect to a server in Sweden. If you choose a different location, the app will remember your latest selection for the next time you start the app.

    Connection status — know when you are connected

    Once connected, the Mullvad app will visually signal this in a few ways:

    • The padlock in the system tray (Windows/Linux) or menu bar (macOS) will turn green.
    • The top bar of the app will be green.
    • The app says «Secure connection» on the connection screen.
    • A green dot on the map background shows where you are connected.

    Connection details

    When you are connected, you can click on the server name (e.g. nl4-wireguard) in the connection screen to show connection details, including tunnel protocol (WireGuard or OpenVPN), the VPN server’s entry (in) IP address and port, transport protocol (UDP or TCP), and your exit (out) IP address from the VPN server.

    Is your browser leaking?

    Use our Connection check to verify your connection status and to see if your browser is leaking information and jeopardizing your privacy. This can occur even while connected to Mullvad.

    Читайте также:  Как настроить g25 для assetto corsa

    Reconnect

    Next to the Disconnect button is a Reconnect button. If you are connected to a country or a city then you will most of the time get reconnected to another Mullvad server in that country or city if you click on this. It also changes the port it connects to the server on, unless you have set a port in the app settings.

    Switch location

    To select a different country, city or server, click on the Switch location button.

    Select a country

    On the Select location screen, scroll down with the mouse scroll wheel or using the scroll bar in the right edge. Then click on the country that you prefer and the app will connect to it automatically.

    Select a city

    On the right side of the country there is a down arrow. Clicking on this will reveal a list of cities that you can choose to connect to.

    Select a server

    On the right side of the city there is another down arrow. Clicking on this will reveal a list of servers that you can choose to connect to. If the tunnel protocol is set to Automatic you will see OpenVPN servers in the top and WireGuard servers thereafter (where available).

    Unavailable locations

    It can happen that you won’t be able to select a location because its servers are currently unavailable. Such a location will have a red dot beside it and the name will be greyed out. Also individual servers can be disabled and show a red dot.

    You can check our website server list where you can click on the down arrow for a server to possibly learn more about it.

    Filter by provider

    After you click on Switch location you can click on the button in the top right corner and then click on Filter by provider.

    Here you can select or deselect server hosting providers to show or hide them in the location list. This is useful if you find that servers from some providers work better for you than others.

    Disconnect

    If you want to disconnect from Mullvad, just click on the Disconnect button on the connection screen.

    Know when you are disconnected

    When you are disconnected, the Mullvad app will visually signal this in a few ways:

    • The padlock in the system tray (Windows/Linux) or menu bar (macOS) will be red.
    • The top bar of the app will be red.
    • The app says «Unsecure connection» on the connection screen.
    • A red dot on the map background shows your real location.

    Update the app

    If you are running an old version of the app, you will see a notification on the connection screen that says «Update available». Click on the arrow icon on the right side of the message to open our Apps download webpage. We recommend that you keep your app up to date. You can also choose to participate in our Beta program.

    Temporarily blocked internet – kill switch on

    In case there is a problem while the Mullvad app is connected, you may notice that your internet has suddenly stopped working. Check to see if the padlock in the system tray/menu bar has turned green with a red dot. If so, the connection screen in the app will also display «blocking internet».

    This is the app’s built-in kill switch at work, automatically blocking the internet upon VPN connection failure to ensure that your traffic is not accidentally leaked outside of our secure tunnel.

    You will experience this in a few situations:

    • If the app disconnects due to a connectivity issue.
    • If you run out of time on your account while connected.
    • While the app is establishing a connection when you start the app.

    The app will continue to block your internet traffic until a secure connection is made or reestablished, or until you manually disconnect from the app.

    If you are worried about those times when you forget to start the app – leaving you unsecure – consider doing one of the following:

    • Under Advanced settings, turn on Always require VPN.
    • Configure your browser with our SOCKS5 proxy which only works when you are connected to Mullvad.

    Settings menu

    The Settings menu can be accessed by clicking on the gear icon in the top right corner on the connection screen.

    From here, you have access to several sub menus.

    Account

    Here you can view information pertaining to your account, including your account number, your device name, when your paid time runs out, and a link to our website to Buy more credit. If you have purchased or received a voucher then you can use Redeem voucher here. You can also Log out in case you want to log in with another account number.

    Starting three days before your account credit expires, you will see a notification in the connection screen.

    Preferences

    See the Preferences section in this guide.

    Advanced

    See the Advanced section in this guide.

    App version

    This tells you which version of the app you are currently running. Click on this and you’ll be taken to our website to download the latest version. If you don’t have the latest one, you will see a warning message here and in the connection screen.

    Report a problem

    If you are having issues you can let us know by sending a problem report. Enter your email address if you want a reply. Describe your problem in English or Swedish. The log files are anonymized before being securely sent to us. You can also easily view the logs by clicking on View app logs.

    FAQs & Guides

    This link will take you to the Help section of our website.

    Language

    This option allows you to change the app’s display language.

    Читайте также:  Как настроить привет google

    Quit app

    Clicking on the red Quit button shuts down the app. Doing so will disconnect you from any connection you had with the app, leaving your internet traffic exposed and unsecure, unless you have the Always require VPN setting enabled.

    Preferences

    There are many settings in Preferences and they will be described below. To see them all you can scroll down with the mouse scroll wheel or use the scroll bar in the right edge.

    Launch app on start-up

    If this is enabled then the Mullvad app will start up when your computer’s operating system has started.

    Auto-connect

    With this setting enabled, the app will automatically connect to Mullvad VPN when it launches.

    Block ads / Block trackers / Block malware / Block adult content / Block gambling

    If you enable this then Mullvad will use the block list filtered DNS server to prevent some known ads, trackers and/or malware domains from loading in your web browsers and apps. In case you have a problem with a website you can try to disable this. We also recommend that you use other Privacy tools for your browser.

    Local network sharing

    Enable this setting in order to access other devices on the same local network, such as printers and network attached storage (NAS). In many cases it’s best to use the IP-address of the device when you connect to it.

    Notifications

    Control whether or not you want system notifications to be displayed. Critical notifications, such as when the app temporarily disconnects, will always be displayed.

    Monochromatic tray icon

    This setting allows for a grayscale tray icon instead of the default colored one.

    Unpin app from taskbar (Windows only)

    Enabling this setting opens the app in a new window which you can move around freely. The window stays open until you close it.

    Start minimized (Windows and Linux)

    Enable this setting if you only want to show the tray icon when the app starts. On Windows this setting is only available if you have enabled «Unpin app from taskbar» (otherwise the app will always start minimized).

    Beta program

    Enable this option to get notified directly in the app when a new beta version is available.

    Advanced

    As usual, to see all settings in this menu you can scroll down with the mouse scroll wheel or use the scroll bar in the right edge.

    Enable IPv6

    This enables/disables IPv6 communication through the tunnel. You will be assigned both an IPv4 and IPv6 Mullvad address.

    Always require VPN

    Attention: enabling this will always require a Mullvad VPN connection in order to reach the internet.

    The app’s built-in kill switch is always on. This setting will additionally block the internet if clicking Disconnect or Quit.

    Split tunneling

    Split tunneling allows you to exclude some apps from the VPN. See the guide Split tunneling with the Mullvad app.

    Tunnel protocol

    Choose which VPN protocol you’d like your connection to use. With Automatic selected, Windows uses OpenVPN while macOS and Linux use WireGuard.

    WireGuard settings

    To change the WireGuard settings make sure that the Tunnel protocol is set to Automatic or WireGuard.

    If Automatic does not work well for you then you can select port 51820 or 53.

    Enable multihop

    You can enable multihop to increase your anonymity. Your Internet traffic will then be routed from one WireGuard server to another. Note that this can impact your speed and latency. See our guide Multihop with WireGuard if you want to know more.

    After enabling multihop you can go back and click on Switch location and select an Entry location and Exit location.

    IP version

    Normally the app connects to a WireGuard server using it’s IPv4 address. If your network or device only supports IPv6 then you can select that here.

    The default MTU (maximum transmission unit) for WireGuard in the Mullvad app is 1380. You can set it to 1280 if the WireGuard connection stops working. This may be necessary in some mobile networks. Increasing the value might achieve slightly higher speeds in some cases.

    OpenVPN settings

    To change the OpenVPN settings make sure that the Tunnel protocol is set to Automatic or OpenVPN.

    Transport protocol

    When using automatic It will default to UDP because it is generally faster than TCP. However, sometimes only TCP works on certain restricted networks, and it may be more stable.

    You can set either Automatic, TCP or UDP.

    Bridge mode

    Enabling Bridge mode routes your traffic through two servers — first a Shadowsocks bridge server and then an OpenVPN server — instead of one, in essence a multihop. The Automatic setting means that it will only be used if there is a problem to connect without it.

    Follow our guide How to use bridge mode for full instructions.

    Mssfix

    You can use this setting if you are connected with OpenVPN with UDP. It will avoid packet fragmentation which in some cases can cause the connection to stall, for example https:// (SSL) websites may not load properly. The default value (max package size) is 1450 and 1300 is a good value to start with if you have this particular problem. You could also try to change to TCP instead.

    Use custom DNS server

    Use this option if you want to use another DNS server instead of the DNS on the Mullvad VPN server. Enter the IP-address to a DNS server.

    You can only use a public/external DNS server if you connect to a Mullvad WireGuard server, but you can use a local DNS server both with WireGuard servers and OpenVPN servers.

    Note that this can affect your privacy if it’s logging your DNS requests.

    «WireGuard» is a registered trademark of Jason A. Donenfeld.

    Источник

    Поделиться с друзьями
    Инструкции360