[Tutorial] OpenVPN on N9 MeeGo Harmattan
1 Attachment(s)
UPDATE:- I won't be supporting this any longer. Now you can install OpenVPN with one-click via N9QTweak. Hit thanks for Schturman
http://talk.maemo.org/showthread.php?t=80600 ------------------------------------------------------------------------------------ Hello all, So after hours of searching and reading on the web, I finally figured out how to run OpenVPN service on N9 with the service being free. I know many people would have OpenVPN running successfully, I just want to help beginners like me. Here in my country, YouTube is blocked so I needed a VPN to access it. I must admit I was having a hard time configuring this thing as there was no straightforward tutorial to set it up. Plus there is no GUI but it is better than nothing. But in this tutorial, buttons are created to start/stop OpenVPN which makes it a lot easier. I tried VPN9C, IPsec based, which has a GUI, but I could not find any free service provider. Now I want to put it up on this forum so that anybody wanting to use OpenVPN could do it easily and in one go. Warning! I claim no responsibility for whatever happens to your phone because of this guide. Though it should work fine in most cases. Warning 2! : Don't let your phone battery run out of power completely to the point where it shuts down and doesn't restart. In that case, refhashlist containing SHAsums of files get corrupted. Result You get rebootloops which can be fixed. BUT you won't be able to use DNS FLUSH part. So charge your phone before it shuts down itself, use automatic powersaving. NOTE:- I am claiming NO credit for this tutorial as I have just gathered the available info and simplified it. Credits: 12VPN Tutorial for Harmattan ; MeeGo Forums Thread ; VPNBook for Free VPN Service I have attached a zip file containing all the files necessary for the operation, you can find it at the bottom of this post. --------------------------------------------------------------------------------- 1.First, download the zip file I have attached (sorry for the messy icons), extract the files and Put them in a Folder by the name myvpn for your ease. Then Copy this folder to your N9 MyDocs folder. 2.Then, we add Elleo's Repo to the N9: Code:
devel-su Code:
~ # apt-get update --fix-missing 3. Then Install Jare's version of OpenVPN. As root: Code:
~ # wget http://www.jlranta.com/stuff/openvpn_2.1.3-3harmattan1_armel_aegis.deb 4. Installing VPNbook free OpenVPN Profile: Open terminal as root, and type the following: Code:
~ # cd /home/user/MyDocs/myvpn 5. Creating the start/stop icons for OpenVPN start/stop operation on Application Homescreen: As root: Code:
~ # cd /home/user/MyDocs/myvpn 6. Setting up Flush DNS part: As root: Code:
~ # cd /home/user/MyDocs/myvpn 7. Finally, all is set for the OpenVPN to operate, the desktop icons should appear by this time on the Applications Homescreen, Put them into a separate vpn folder for ease. Tap the VPN ON Icon to start OpenVPN, give it a few seconds before it could connect to the VPNBook Server. Try YouTube after that. It should work. To stop OpenVPN, tap the STOP VPN icon. 8. Flush DNS: It is used to counter the problem of DNS Poisoning, especially in China. Details are given at 12VPN.com tutorial. To use this, tap the FLUSH DNS icon before and after Using OpenVPN. Hope it works for most of the people and save them the effort of starting stopping VPN from terminal especially beginners like me. ------------------------------------------------------------------------------------- UPDATE:- VPNBOOK updated their server credentials. The attachments here are updated too. Should work now. Update 08/05/2013 Credentials Updated along with some changes in the tutorial. ------------------------------------------------------------------------------------- ALTERNATIVE--> Okay so if anyone wants to try an alternative namely ShadowSocks by chiappa, one can try it at this site ---------------------------------------------------------------------------------- HOW TO REMOVE OPENVPN COMPLETELY Thanks to Schturman As ROOT: 1. Code:
devel-su user -c "/etc/init.d/openvpn stop" Code:
sed -i "/<policy user=\"user\">/,/policy context=\"default\">/c\\ Code:
cd /usr/share/applications && rm -f flushdns* openvpn* Code:
cd /etc/openvpn && rm -f vpn.conf log.txt 12vpn.sh Code:
cd /usr/share/icons/hicolor/64x64/apps && rm -f flushdns.png start.png stop.png Code:
apt-get remove --purge -y openvpn openvpn-blacklist openssl-blacklist openssl libpkcs11-helper1 Code:
rm -f /etc/apt/sources.list.d/elleo.list && apt-get clean && apt-get update |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
any video for this, btw, thank you :) hope somebody can compile it into .deb
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
http://www.youtube.com/watch?v=frUh5MS3Pbo But this covers the installation of OpenVPN only. No profiles or anything. By the way, instructions are easy, ain't they? :D |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Wow, thanks for this. Way back I was looking for such a guide but have since found shadowsocks easier to use, better for mobile use and more resistant to the great firewall of China. I also put up a small step-by-step guide over here.
What I did was make an icon with the American flag and tapping on it will turn the proxy on and turn the icon into a hammer and sickle, which if clicked will turn the proxy off :) |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
the Icons are really creative :D |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Thanks! I'll try out your guide as well.. So what would be the Pakistani equivalent of a hammer and sickle? :)
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Its Not WorkIng For Me...
Tell me how to remove all the icons... |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
Code:
devel-su |
I need vpn for USA. There are very less apps in ovistore for my country. I've installed openvpn successfully. But i don't know how to create a usa .config file or how to configure. Can someone please help
|
Quote:
Edit: for certificate making, which is necessary to run vpn, you have to google it. Most probably you'll find it on ubuntuforums as i don't know how to create a certificate. Here I am assuming you want to create your own VPN network. |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
I did not include in my video some steps to adding actual VPN profiles due to the sheer diversity of VPN service providers, but in general they follow the same concept. I also have some YouTube video tutorials of the same for the N900 at my YouTube channel, in case some of you are interested. Although the difference is that on the N900, OpenVPN was already there so it was easier. My video for the N900 included some setup steps of actual VPN services (but I am not sure if it will work for others - I'm from the Philippines by the way). |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Khan.orak
I aM In pakIsTaN... AnD U MiGhT knOw ThaT YoUTUbe iS bLoCkEd HeRe... I DonT kNow WhAt iS wrOnG... I TrIeD EvEryThInG... Plzzz GiVe Me A FuLL GuIdE iF U CaN BrO... :( |
ThAnK U KhaN... ItS WoRkInG... :)
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
Quote:
Quote:
It is nigh impossible to understand what youre typing, it hurts my eyes... |
HaHa... JuIcemE... SoRrY FoR HuRtInG Ur EyEs BrO... BuT I LikE ThE waY I TyPe... BuT I wiLL StOp iF It iS ReaLLy HuRtInG Ur EyEs... I CaNt HuRt AnYbOdY... :(
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Hi added my configuration steps on this page for PA :
http://wiki.maemo.org/OpenVPN#N9_HARMATTAN feel free to improve or comment |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Hmm, unfortunately it seems not possible anymore to setup openvpn on N9.
I guess because elleos repository is not available anymore. N9QTweak tweak CC-3 to install openvpn is also not working. Probably because of the same reason. All other files mentioned in the first posting in this thread are still available. Does anyone has an idea where I can get everything that would come with this command? Code:
apt-get install openvpn |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Hi.
You can get the .deb file here: https://openrepos.net/content/rzr/openvpn Then install it as root with: Code:
dpkg -i filename.deb 1.- Install openvpn. Instead of devel-su I used opensh to get root. This way it got rid of all the messages like 'permission denied'. 2.- Register telepathy SIP client through the VPN client. Just for future reference I had to hack it with this command: Code:
mc-tool update sofiasip/sip/_313_40172_2e26_2e0_2e20 string:local-ip-address='172.26.0.8' Regards. |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Thank you for the Link to OpenRepos. But the .deb file (not exactly the same but a very very similar one) I've already downloaded from here like described in post #1 step 3.
I thought with "apt-get install openvpn" (post #1 step 2) you install other stuff that is necessary for the .deb file to work. I like to try only the .deb file without the apt-get command before. Maybe you are right and the apt-get command is not necessary. But I guess I need opensh for a successful installation of the .deb file and I can not find it. I've found in an article that I also need inception? All links to these tools do not work anymore...only dead-ends everywhere I look. Maybe someone has another hint for me where I can get opensh? |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Hello, ı have problem to build openvpn on my n9 ı have been.tried all the ways but couldnt install it some body can help me ? please ! I can.upload here terminal
screenshots. |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
1 Attachment(s)
This is the fault when ı trying to install openvpn what can ı do to solve problem ?
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
Seems to me that the file Openvpn.zip can not be downloaded. Maybe Schturman can help here.... or you can try the version archived in Openrepos. Regards. |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Bit out of my depth here but does this resource add anything: https://roopeshsivam.wordpress.com/2...-n9-harmattan/
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Still cant install there is a mistake ı have been doing somewhere but couldnt find.
openvpn.zip file is located in mydocs but qtweak says this file is not exist !! |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
This still works by the way. Had to use the openvpn deb from openrepos.com. I was able to get private internet access (PIA) vpn working. I downloaded the configuration file from PIA but it came as ovpn. I struggled to write the .conf file for private internet access vpn not realising all I had to do was change the file type of the ovpn to .conf!
So that's for anyone trying to figure this out. That's why I love Linux. So rewarding when u get things working |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Hi guys,
I installed OpenVPN also with the help of N9QuickTweaks (option CC). So far, not that difficult. You install it, and then you can change the server type and check for new version. BUT, it installs a vpn.conf file with VPN from VPNbook. Fine ofcourse, but I want my own VPN working (I have an openvpn server at home or else from NordVPN). As tcbl50 above says, you have to change te file typ from ovpn to .conf. Not that hard I quess, but when I try to copy that file to /etc/openvpn it says that I cannot copy a file there, I don't have the rights, "permission denied". But I'm using WinSCP with SDK (you have to be root). I also tried with Filebox as root, but same message. Can you help me with this? How can I get that file in the right directory?? Thanks guys! |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Although I use Cyberduck upon Mac (show hidden files), seem to remember that any change would need to be made with file in home/user/MyDocs and then copied to destination.
|
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Quote:
But, did you try to copy to /etc/openvpn or /etc/openvpn/ First one is a folder, and could result in such an error. |
Re: [Tutorial] OpenVPN on N9 MeeGo Harmattan
Hey guys,
I managed to get in done (permission denied- stuff) by downloading the 'rooted' filebox on openrepos. So far so good. But I managed to screw things up. I de-installed openvpn trought quicktweaks with the thougt to install it again. But I can't install it with N9quicktweaks anymore.... It says: cp: can't stat 'openvpn.zip': No such file or directory In may this year everyting worked fine. Is it because of N9Quicktweaks? The openvpn.zip is still availabe in Post 1 of this topic, but what do I do with it? Can anyone confirm is isn't working anymore? Edit: I have the same problem as Anatolian had in 2015... Quote:
|
All times are GMT. The time now is 23:34. |
vBulletin® Version 3.8.8