maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   OpenVPN routing problem on N900 (https://talk.maemo.org/showthread.php?t=38008)

asasan 2010-06-05 10:44

Re: OpenVPN routing problem on N900
 
I have very little understanding of this stuff. Security is not my concern but just wanted to use OpevVPN to hide my IP when connected with t-mobile 3G by tunneling through my own network at home. ToR is way too slow (to Germany and back) and does not let me use DialCentral for Google voice. (httpS://www.google.com/voice/m not accessible)

So, I bought a newly released Cisco RV 120W to set up VPN on my home network and use OpenVPN or OpenSSH. Cisco documentation says it can work with OpenVPN but I have no clue on how to set up the whole thing, generating a self-signed certificate, get config. files, etc. I spent hours with Cisco tech support to no avail.

Am I in over my head? Should I just forget about the whole thing? Can anybody help?

Davey101 2010-06-05 11:23

Re: OpenVPN routing problem on N900
 
Check the documentantion and/or forums for your router.

I upgraded my Linksys to DD-WRT and found a really helpful how-to guide on OpenVPN in the DD-WRT wiki.

With the information in this thread, it wasn't too difficult to create a second configuration that routes all traffic through the VPN.

mail_e36 2010-06-10 20:12

Re: OpenVPN routing problem on N900
 
In June 2010 I downloaded the current version of OpenVPN for the N900 and it seems I have no trouble connecting to the VPN over both WiFi and EDGE... haven't tried 3G yet... it shouldn't make a difference though. This worked without making any of the above stated changes.

Did this issue somehow get fixed?

mail_e36 2010-06-11 13:59

Re: OpenVPN routing problem on N900
 
It appears my last message was not correct... it seems I ran into a fluke (random scenario) when it actually worked over EDGE without changes being made... I guess I'll have to actually look into the above instructions...

I see several different sets of instruction here for making OpevVPN work over EDGE/GPRS, can someone please indicate the best/most reliable method?

Thank you

Davey101 2010-06-11 19:16

Re: OpenVPN routing problem on N900
 
As far as I know, there are no special requirements for using openvpn over GPRS/Edge/3G. The hacks in this thread apply to routing all traffic over the vpn while using these types of connection.

Is that what you are trying to do? What else is in your configuration?

andrew_85 2010-06-24 01:59

Re: OpenVPN routing problem on N900
 
guys i installed and everything is finethen imported this hideipvpnuk and i m also connected but when i try to open facebook it doesn t work.

p s I m in china

nikul.padhya 2010-08-05 22:30

Re: OpenVPN routing problem on N900
 
How to generate the VPN file?

can I connect to my website storage. (on DreamHost)
using VPN?

Is it good to use VPN or SSH to map network drives on N900?

Thank you

Vinc 2010-12-08 21:37

Re: OpenVPN routing problem on N900
 
Quote:

Originally Posted by mr.zoom (Post 682874)
Hi Dave
  • script-security 2 # sets the security settings that you can run external scripts
  • up /etc/openvpn/maemo-update-resolvconf # runs the script maemo-update-resolvconf if your vpn connection is up
  • down /etc/openvpn/maemo-update-resolvconf # runs the script maemo-update-resolvconf if your vpn connection is down

The maemo-update-resolvconf script existed on my phone already after the installation of openvpn on my phone. The script takes the dns settings from your openvpn environment and writes it in your /etc/resolv.conf if the connection is up. If you disconnect it wirtes the orginal settings to the /etc/resolv.conf.

Cheers

mr.zoom

This doesn't work for me.

I followed the guide on Evertdekker.com and I am able to establish a connection to my local network via the external gprs connection.

However I need traffic routing for my sip accounts used on n900. I added the three lins to the client config, but it didn't work. Are there any other changes needed?

gauzz 2011-08-19 18:08

Re: OpenVPN routing problem on N900
 
Thanks guys this thread was really useful, as I was struggling to connect to my office intra via openvpn client.
Also I noticed a slight problem - while being connected to the intra n/w via the ovpnclient my battery drained off and the phone got switched off. On restart the normal internet connection via 3g started to fail, though it shows connected there ws no data transfer. After much googling the culprit was the resolv.conf file to which the "nameserver 127.0.0.1 " was overwritten but was not restored as the phone got off abruptly.
Any workaround to prevent this? Also will such a situation affect any other service due to the above mentioned configurations.

I have enabled all the scripts mentioned in the thread.


Thanks again.


All times are GMT. The time now is 10:57.

vBulletin® Version 3.8.8