Setting up your OpenWRT based router to connect to My Private Network VPN service is straight forward with these simple step-by-step instructions.

Please note that we’ve tested only on the two OpenWRT versions (Backfire & Chaos Calmer) however it should be the same for any other versions.


Getting Started

 

You will presumably have the WAN or Internet port of the OpenWRT router connected to the LAN or Local port of your primary router.

Note: You might want to configure the wireless network of the OpenWRT router to be something with VPN Country in the name i.e. MPN GBR, MPN USA so you can tell which is which, but all of that is up to you.

Instructions below will depend on the OpenWRT version that you have installed;

Step #2: OpenWRT Backfire 10.03.1
Step #3 : OpenWRT Chaos Calmer 15.x


OpenWRT Backfire 10.03.1

 

Navigate to System > Startup

OpenWRT-Backfire-Startup-screen

Scroll to the bottom of the page to Local Startup.

Copy the text in red below. Paste it into the text entry box somewhere after the first two lines but above the last line that says, “exit 0”


cat > /tmp/mpn-config << MARK1
USERNAME=Your MPN Username
PASSWORD=Your MPN Password
SERVER=GBR.mypn.co
MARK1
if [ ! -f /usr/bin/mpn.sh ] ; then
opkg update
opkg install wget
opkg update
opkg install openvpn
wget --no-check-certificate https://mypn.co/files/openwrt/mpn-openvpn-udp1194.ipk
opkg install mpn-openvpn-udp1194.ipk
fi

Edit the pasted text and replace “Your MPN Username” and “Your MPN Password” with your My Private Network Username and Password.

 

Note: If you do not want to connect to our GBR (United Kingdom) server you must specify the server to which you wish to connect. Replace GBR.mypn.co with another server address from the list of countries from the FAQ linked below:

Which Countries Can I Connect To?

 

OpenWRT-Backfire-save-VPN-script

Click Submit.

 

Navigate to System > Reboot > Perform Reboot

OpenWRT-Backfire-reboot

That’s it! Once your router is back online, it should already be connected to our VPN server.

To confirm if you are indeed connected and getting our VPN IP address, open your browser and head on to My Private Network IP Info page to check your IP address.


OpenWRT Chaos Calmer 15.05.1

 

Navigate to System > Startup

OpenWRT-Chaos-Startup-Screen

Scroll to the bottom of the page to Local Startup

Copy the text in red below. Paste it into the text entry box somewhere after the first two lines but above the last line that says, “exit 0”


cat > /tmp/mpn-config << MARK1
USERNAME=Your MPN Username
PASSWORD=Your MPN Password
SERVER=GBR.mypn.co
MARK1
if [ ! -f /usr/bin/mpn.sh ] ; then
opkg update
opkg install wget
opkg update
opkg install openvpn-openssl
wget --no-check-certificate https://mypn.co/files/openwrt/mpn-openvpn-udp1194.ipk
opkg install mpn-openvpn-udp1194.ipk
fi

Edit the pasted text and replace “Your MPN Username” and “Your MPN Password” with your My Private Network Username and Password.

 

Note: If you do not want to connect to our GBR (United Kingdom) server you must specify the server to which you wish to connect. Replace GBR.mypn.co with another server address from the list of countries from the FAQ linked below:

Which Countries Can I Connect To?

 

OpenWRT-Chaos-save-VPN-script

Click Submit.

 

Navigate to System > Reboot > Perform Reboot

OpenWRT-Chaos-reboot

That’s it! Once your router is back online, it should already be connected to our VPN server.

To confirm if you are indeed connected and getting our VPN IP address, open your browser and head on to My Private Network IP Info page to check your IP address.

 


Any Problems?

 

Unfortunately it doesn’t always go to plan!

If you have any problems or need any further information, please send us an email to our technical support team at This e-mail address is being protected from spambots. You need JavaScript enabled to view it
. We’ll get back to you as soon as possible and try to help.