VPN over cellular
Hello!
Has anyone managed to set up VPN over cellular? I have PIA working with openvpn plugin over WiFi but when I try to connect over 2G or 3G websites don't load and other apps also get no connection. Any hints? |
Re: VPN over cellular
Perfectly working VPN over 3G here.
I regularly connect from my N900 over 3G with OpenVPN to my router at home and no real issue... Check maybe if your mobile provider isn't blocking some ports used by OpenVPN (1194 is the default, if not changed). Maybe try to use ports less probably blocked (80 or 443 for instance). Try another mobile provider just to see if the problem is your current provider. |
Re: VPN over cellular
The gprs0 interface has mtu at 1464.
Inside the openvpn client config you have to add the line: mssfix 1400 (i think to recall that the exact max value for an udp connection is 1424 but i have to check... ) |
Re: VPN over cellular
Without changing anything openvpn applet gives me:
1470914793,CONNECTING,,, 1470914793,RESOLVE,,, 1470914793,WAIT,,, 1470914794,AUTH,,, 1470914797,GET_CONFIG,,, 1470914799,ASSIGN_IP,,10.107.1.10, 1470914799,ADD_ROUTES,,, 1470914799,CONNECTED,SUCCESS,10.107.1.10,192.40.95 .9 But there is no working connection. My wife has an android also with the same carier and vpn rpvider and is using openvpn and... it works. After adding mssfix 14000 to config file still no luck. |
Re: VPN over cellular
What do you mean by "not working"?
Try a ping on a domain : ping google.com Try a ping on an ip (maybe dns is not working) : ping 8.8.8.8 Check what you have in /etc/resolv.conf What are the routes on your N900 : try command "route" From what I understand you are assigned the ip 10.107.1.10 and your gateway is 192.40.95.9 ... the route command could help to understand better what is happening. I don't have experience with any VPN provider as I always configured myself my VPN servers, but using the commands mentioned above can help to determine where is the problem and what exactly isn't working. |
Re: VPN over cellular
I am using NordVPN and used to use IPredator.
Both work over cellular with the standard config files they provide for OpenVPN. I didn't use the applet but started OpenVPN from the console. openvpn --config providedfiled.conf I can upload one of the working conffiles if you want to compare. Note that my mobile provider is not too restrictive using ports, but as port 443(SSL) is used, the provider shouldn't be able to differentiate it from normal mobile browsing. |
Re: VPN over cellular
Here it is:
Code:
Nokia-N900:~# route Etc/resolve.conf: Code:
nameserver 127.0.0.1 etc/openvpn/maemo-update-resolveconf Code:
#!/bin/bash and also: etc/openvpn/update-resolve-conf Code:
#!/bin/bash |
Re: VPN over cellular
and here is a config file germany.openvpn
Code:
client |
Re: VPN over cellular
Quote:
This is required for any openvpn connection on the N900. |
Re: VPN over cellular
Yes I did put the corect number into germany.openvpn - in my previous post I just made a typo.
|
All times are GMT. The time now is 14:16. |
vBulletin® Version 3.8.8