OpenWRT OpenVPN Setup

Share This!

Ensure OpenWRT is working properly on your router.

Instructions to configure OpenVPN differ depending on your version of OpenWRT. Instructions to configure on OpenWRT Backfire 10.x are at the top. OpenWRT Chaos Calmer 15.x instructions are further below.

Please note that we’ve tested only on the two OpenWRT versions and it should be the same for any other versions.


Login to your OpenWRT router control panel.

If you do not know the address of your router refer to the instructions lined below:

How To Find Your Default Network Gateway


OpenWRT Backfire 10.03.1

Follow these instructions for OpenWRT Backfire 10.03.1. Instructions for OpenWRT Chaos Calmer 15.x are further below.

1 – Navigate to System > Startup



2 – Scroll to the bottom of the page to Local Startup


Copy the text 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 www.mypn.co/files/openwrt/mpn-openvpn-udp1194.ipk
opkg install mpn-openvpn-udp1194.ipk
fi

 

 

 

You must edit the pasted text. Replace “Your MPN Username” and “Your MPN Password” with your My Private Network Username and Password.

If you do not want to connect to our Great Britain 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 in the FAQ linked below:


Which Countries Can I Connect To?

 

 

 

Click Submit.

Navigate to System > Reboot > Perform Reboot

 

 

 


OpenWRT Chaos Calmer 15.05.1

Follow the instructions here for OpenWRT Chaos Calmer 15.05.1 :


1 – Navigate to System > Startup

 

 

2 – Scroll to the bottom of the page to Local Startup


Copy the text 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 www.mypn.co/files/openwrt/mpn-openvpn-udp1194.ipk
opkg install mpn-openvpn-udp1194.ipk
fi

 

  

You must edit the pasted text. Replace “Your MPN Username” and “Your MPN Password” with your My Private Network Username and Password.

If you do not want to connect to our Great Britain 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 in the FAQ linked below:


Which Countries Can I Connect To?

Click Submit.

Navigate to System > Reboot > Perform Reboot




Problems?

 

Unfortunately, it does not always go to plan!

 

If you have any problems or need any further information, please send us an email to [email protected] and we will do our best to assist you.