shennushi / 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

VPN comes up, but is not used AFAIK #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start vpn connection (via vpntunnel.se)
2. access www.whatismyip.com in standard browser
3. I get my non-VPN address

What is the expected output? What do you see instead?
I should see the VPN IP address

What version of the product are you using?
latest version from Market

Which Android phone are you using?
Samsung Galaxy S

Which firmware version are you using?
Android 2.2

Please provide any additional information below.

Original issue reported on code.google.com by emeu...@gmail.com on 9 Mar 2011 at 12:04

GoogleCodeExporter commented 9 years ago
By default, openvpn only routes the traffic over the vpn connection, that 
belongs to the network on the other side of the tunnel. Did you provide 
additional options to force openvpn to route all your traffic through the 
tunnel?
You can see this in your openvpn .config file. To get a description of all 
options you can set in this file see 
http://openvpn.net/index.php/open-source/documentation/manuals/427-openvpn-22.ht
ml (for openvpn 2.2). Some interesting ones would be --redirect-gateway and the 
--route... options. You can test the config file easily by installing an 
openvpn client to a normal computer and see, if u get the desired behavior, if 
you don't get right with the config documentation.

If the config file looks correct for you, it would be nice to know what options 
are set. But you should remove/obfuscate authentication information and server 
address before sharing your config.

Original comment by EXTAl...@gmail.com on 19 Mar 2011 at 2:13

GoogleCodeExporter commented 9 years ago
My config is as follows:

float
client
dev tap
proto udp
nobind

; Cert
ca /sdcard/openvpn/ca.crt
ns-cert-type server
cipher BF-CBC   #Blowfish

;Vpn server

remote-random
remote melissa.vpntunnel.se 1194
remote melissa.vpntunnel.se 10010
remote melissa.vpntunnel.se 10020

;Auth
auth-user-pass /sdcard/VPN/VPN

persist-key
persist-tun

; Logging
comp-lzo
verb 1

Original comment by emeu...@gmail.com on 22 Mar 2011 at 7:16

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 9:18

GoogleCodeExporter commented 9 years ago
I'm using an identical config file, and have the same problem (see Issue 99) - 
any update on this? Suggestions for those options you mention would be welcome, 
happy to test them for you.

Original comment by chris.wh...@gmail.com on 13 Mar 2012 at 9:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just in case you have such problem, please try Fix HTC Routes option. It helps 
when traffic routed worng.

Original comment by uzzerm...@gmail.com on 4 Apr 2012 at 11:06

GoogleCodeExporter commented 9 years ago
This didn't help me - I'm running on a Samsung Galaxy S2 with ICS now

Original comment by chris.wh...@gmail.com on 4 Apr 2012 at 12:51

GoogleCodeExporter commented 9 years ago
Have you tried to add
"redirect-gateway"
to your config?

Original comment by sebastia...@gmail.com on 16 Sep 2012 at 8:26