26597925 / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Openvpn fails on Samsung Galaxy S - WiFi OK - 3G Fails #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
All installed OK
Using Openvpn Settings from the market
All correct when connected - picks up IP addresses etc from the server.
Indeed an external WiF connection through the internet to the server - 
everything works.

However using 3G - it connects OK but fails - failure shown when a VoIP SIP 
client connects to a VoIP SIP server - the client registers OK but cant make 
calls.  Also the Android browsing to a web server over the VPN starts to 
connect - then hangs.

Also tested - Android was set up for tethering (WiFi Access Point to 3G 
internet service) and a Windows laptop connected.  The Windows laptop runs 
OpenvpnGUI and everything works - inc VoIP and all web services. To me this 
means that it IS possible to run across the 3G.

Notes:-
The Openvpn server is a DD-WRT Linksys working as a UDP Bridge (tap0) which 
works perfectly for other clients.

Here are the config files
SERVER
mode server
proto udp 
port 1194 
dev tap0 
server-bridge 10.0.020.001 255.255.255.0 10.0.020.050 10.0.020.060 
keepalive 10 120 
daemon 
verb 5 
client-to-client 
dh /tmp/openvpn/dh.pem 
ca /tmp/openvpn/ca.crt 
cert /tmp/openvpn/cert.pem 
key /tmp/openvpn/key.pem 

CLIENT
remote XXX.XXX.XXX.XXX 1194
client 
dev tap0
proto udp 
resolv-retry infinite 
nobind 
persist-key 
persist-tun 
float 
ns-cert-type server
ca ca.crt 
cert client.crt 
key client.key 
verb 3

Any ideas?

Original issue reported on code.google.com by mikeroth...@gmail.com on 22 Jul 2011 at 12:15

GoogleCodeExporter commented 8 years ago
All OK now
My problem - the OpenVPN connection was working fine all the time.
It was my VoIP/SIP server that needed fixing.

Also browsing to an internam web service wasnt working but after loading 
Firefox for the Android it all worked.  I think there was probably some kind of 
proxy being used with the other browsers.

BTW - whilst fixing, I have seen that OpenVPN is very robust.
I will be using it a lot now.

Original comment by mikeroth...@gmail.com on 27 Jul 2011 at 1:36

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 29 Dec 2011 at 12:36