Shadowsocks for OpenVPN on Windows
Unable to surf the entire web because you're stuck behind a restrictive firewall? Then Shadowsocks might be your answer.
In this Windows guide, we'll walk you through the steps to use this proxy to connect to Mullvad's servers using the OpenVPN client.
What is Shadowsocks?
Please see our Intro to Shadowsocks guide.
1. Install OpenVPN
Follow our OpenVPN installation guide for Windows. Skip this step if you already have it set up.
2. Download and edit Mullvad configuration file
- Follow this pre-configured link to our configuration generator page.
- Enter your account number and select a region. The other necessary options are already chosen.
- Download and extract the zipped files to either C:\Program Files\OpenVPN\config or C:\Program Files (x86)\OpenVPN\config
3. Install and run Shadowsocks
- Navigate to the Github page for Shadowsocks on Windows.
- Download the latest release offering a Shadowsocks.zip file (for example, Shadowsocks-4.1.5.zip).
- Extract the file.
- In the extracted folder, right-click Shadowsocks.exe and click Run as Administrator to start the Shadowsocks program.
4. Add bridge server
The next step is to add the bridge server you want to use, which will act as your entry location.
You can add a bridge server in the Shadowsocks program either automatically by QR code or manually.
Option 1: Automatically add server with QR code
Use this method if you want to use Sweden as your entry location.
- Make sure this QR code is fully visible on your screen.
- In the Windows system tray, right-click on the Shadowsocks icon, then choose Servers > Scan QRCode from Screen.
- The program will automatically scan the QR code and create a server profile.
- Click OK.
Option 2: Manually add server
- In the Windows system tray, double-click on the Shadowsocks icon.
- Click Add.
- Next to Server Addr, enter the IP address of the Mullvad bridge server you want to use as your entry location.
- Next to Server Port, enter "443".
- Next to Password, enter "23#dfsbbb".
- Next to Encryption Method, choose chacha20.
- Next to Remarks, enter a name to help you identify the server.
- Next to Proxy Port, enter "1080".
- Click OK.
- Run OpenVPN as Administrator (right-click on the program icon and choose "Run as Administrator").
- In the Windows system tray, right-click on the OpenVPN icon.
- Select profile of the configuration file you edited and choose Connect.
- Open the Shadowsocks program.
- Right-click on your bridge server and choose Connect.
- Once both programs show as being connected, you're all set!
When I try connecting to OpenVPN, I get an error saying "RESOLVE: Cannot resolve host address".
Try downloading the pre-configured configuration file again, making sure that the box next to "Use IP addresses" is checked.