Make sure you have the Router installed with the correct firmware. In the upper right corner it should mention "vpn".
You can get the Firmware of your Router from the official site of DD-WRT. Be sure to check whether your router model has supported Firmware of OpenVPN (In our case we have used OpenVPN generic firmware).
Once you have installed OpenVPN based firmware, open the web interface. Usually the default address to access the web interface is 192.168.1.1, but if you have a different IP configured, access through that IP.
The first page after installation will ask you to provide a new username and password for the web interface.
Set the credentials you wish for this step.
Install Correct Firmware
Next, go to the Administration tab, and click on Commands as highlighted in the screen shot.
Configuration of OpenVPN
Now, download the configuration script file. You can download the script file from this URL.
http://www.tuvpn.com/downloads/tuvpn.sh
Now, edit the downloaded script in notepad, and edit your username and password as per the highlighted area in the screen shot. This username and password will work in the same way as if you have enabled “save password option” in OpenVPN.
NB: Please be sure that you have typed in your username and password correctly.
For example, if your username is: "tuvpn_abcdxyz", and your password is: "tuvpn", then the text line should be read as follows;
echo –e “tuvpn_abcdxyz\ntuvpn”> /tmp/ovpn/pass
Copy all the contents by pressing keys, Control+A
Download Script and Edit username and password
Now go back to your router interface and paste the contents that you copied from the downloaded script in the COMMANDS box.
Copy and Pase Configuration file
Once you paste the contents, click on “Save Custom Script”
Save Changes
Now type "sh /tmp/custom.sh" (without quotation marks) in the Commands box.
Then click on “Run Commands” at the bottom of the page.
Execute Script
If successfully completed, you will see a message something like in the screen shot.
Execute Script
Now go to Management under Administration tab again. Click on Reboot router.
This will put the script changes in the startup nvram of the router and on reboot this will connect you to the OpenVPN automatically.
Please allow a few minutes (3-5 minutes) for the router to connect with the TUVPN server after Reboot.
Reboot Router to connect OpenVPN
Go to www.whatismyipaddress.com to confirm that you are connected with the VPN network.
Connected
Please note that there are certain limitations to this setup such as:
- You cannot disconnect OpenVPN directly from the web interface
- You cannot make use of change node until next Reboot
- There is no manual process to Restart OpenVPN from the web interface if for any reason you become disconnected.
These tasks can be performed by making use of the Terminal window of the Router. For this you either need to use Telnet or SSH (Putty). We personally like to use Putty for connecting Terminals(SSH) because of ease of use. For this you will need to enable SSH first.
However if you want, you can use telnet to connect and make the changes.
Enabling SSH:
Go to the Services under the Services tab.
Optional Changes
Select the radio button "enable" against "SSHd" service. And Save the changes.
Enable SSH access (OPTIONAL)
Go to PuTTY and insert your router IP address using port 22.
In our case we have configured the router on 192.168.1.1 and SSH on port 22
Putty Connection to Router (OPTIONAL)
Enter username and password.
Default logins are, User: root, and Password: admin
Connect Router (OPTIONAL)
To disconnect OpenVPN, type: killall openvpn
To disconnect OpenVPN (OPTIONAL)
To start OpenVPN, type : openvpn --daemon --config /tmp/ovpn/tuvpn.conf
To start OpenVPN (OPTIONAL)
To change VPN node, type vi /tmp/ovpn/tuvpn.conf
Go to the line where it reads "remote vpn.tuvpn.com 1194", and change to the server of your choice.
Press the ESC key on your keyboard, then press the ‘i’ key to go into edit mode, then change the server node.
For example, to connect to the London VPN node, replace "remote vpn.tuvpn.com 1194" with "remote london.tuvpn.com 1194".
Press ESC key again, type “ :wq " (without quotation marks) to save the changes and exit.
Change VPN Node (OPTIONAL)
To connect with the new VPN server node, type;
killall openvpn
openvpn --daemon --config /tmp/ovpn/tuvpn.conf
Please allow a few minutes (3-5) for the Router to connect with the new VPN node.
To Connect with New Server (OPTIONAL)
Go to www.whatismyaddress.com to confirm that you are connected to a new VPN server node on the network.
Connected to New Node (OPTIONAL)
Mon, 14 May 2012 17:44:14
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Frugalytics FreeWifiSpotr Bernd Kehr Chris crazyjunki [...]
Mon, 07 May 2012 17:17:36
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Chory alessandro maurencig 壁を乗り越え miao onion 洋葱猫 yoma [...]
Mon, 30 Apr 2012 17:27:31
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: cybersyndrome w00000p Martin Heine Dimitar Dashev Hap [...]
Mon, 23 Apr 2012 17:04:41
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Dimitar Dashev Happier Abroad Renda Twisselman Maulan [...]
Mon, 09 Apr 2012 17:28:32
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: ™ʇɾ nenadstosic Vrashnahk Anony [...]
Mon, 02 Apr 2012 16:56:08
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Fisuyi omotayo Renda Twisselman Wirelayer.net easyOwn [...]
Mon, 26 Mar 2012 17:06:46
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: luthfy02 addi simo obliterated M Fahmi Asher Johnston [...]
Mon, 19 Mar 2012 17:54:47
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: TaRek Oth Zapa FreeWifiSpotr lineth Wirelayer And nex [...]
Mon, 12 Mar 2012 17:02:57
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Linda Williams AnonFB-SupportDE dExtEr B4INEU yjr And [...]
Mon, 05 Mar 2012 17:30:33
Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: ☢4ntibiotic☢ Michael Ibera Cera bigcoffee hailiang lv [...]