Checking connection...

Shadowsocks for OpenVPN on Linux


Unable to surf the entire web because you're stuck behind a restrictive firewall? Then Shadowsocks might be your answer.

In this Linux guide, we'll walk you through the steps to use this proxy to connect to Mullvad's servers using the OpenVPN client.

App user? If you're using the Mullvad VPN app, try using Shadowsocks with the app.

What is Shadowsocks?

Please see our Intro to Shadowsocks guide.

Set-up instructions

1. Install OpenVPN

Follow our OpenVPN installation guide for Linux. Skip this step if you already have this set up.

2. Download Mullvad configuration file

  1. Follow this pre-configured link to our configuration generator page.
  2. Enter your account number and select a region. The other necessary options are already chosen.
  3. Download and extract the zipped files.

3. Install Shadowsocks

Run the command for your particular operating system.

Linux (Debian 9 / Ubuntu 16.10)

sudo apt-get install shadowsocks-libev

Linux (Debian 8 / Ubuntu 16.04)

sudo sh -c 'printf "deb jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list'
sudo apt update
sudo apt -t jessie-backports install shadowsocks-libev

4. Run Shadowsocks

Open a terminal window and run the following command, replacing with the IP address of the Mullvad bridge server you want to use as your entry location.

ss-local -s -p 443 -l 1080 -k 23#dfsbbb -m chacha20