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

Connected but can't ping and reach server #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Client Config

client
dev tap
proto udp
remote x.x.x.x xxxx
resolv-retry infinite
nobind
;user nobody
;group nobody
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
ca "ca.crt"
cert "mycert.crt"
key "mycert.key"
ns-cert-type server
comp-lzo
log status.log
verb 3
mute 30

2. Server Config
port XXXX
proto udp
dev tap
ca "/etc/openvpn/keys/ca.crt"
cert "/etc/openvpn/keys/server.crt"
key "/etc/openvpn/keys/server.key"  # This file should be kept secret
dh "keys/dh2048.pem"
server 10.0.0.0 255.255.255.0
push "dhcp-option DNS 10.0.0.1"
client-config-dir "/etc/openvpn/ccd"
client-to-client
keepalive 10 40
comp-lzo
max-clients 4
;user nobody
;group nobody
persist-key
persist-tun
verb 0
mute 3

Which Android phone are you using?
HTC DESIRE HD

Which firmware version are you using?
Android 2.3.3 LeeDroiD_HD_GB_3.0.3
Kernel: 2.6.35.13-LeeDroid-GB-3.0.3

Please provide any additional information below.
I can connect to the vpn server but i can't ping the server from my device and 
my device from server.
I have tested the config from a pc and it is working like a charm, so i exclude 
it from being an iptables problem (tries all INPUT OUTPUT FORWARD to ACCEPT 
with same result).
"Fix HTC Routes" option is checked.

i'm using openvpn-setting-0.4.7 latest available on market.

Original issue reported on code.google.com by eik...@gmail.com on 26 May 2011 at 8:56

GoogleCodeExporter commented 8 years ago
it started working again without doing anything. Don't know how and why. :S

Original comment by eik...@gmail.com on 26 May 2011 at 9:09

GoogleCodeExporter commented 8 years ago
not working again. That's strange.

Original comment by eik...@gmail.com on 26 May 2011 at 9:54

GoogleCodeExporter commented 8 years ago
solved, it was an udp problem. Using tcp now it's working.

Original comment by eik...@gmail.com on 26 May 2011 at 10:46

GoogleCodeExporter commented 8 years ago
I have the exact same problem under similar circumstances, only I'm using a 
Samsung Galaxy S II.
Switching to tcp from udp did not work for me.

I must admit this looks like a network problem on the server or mobile, and not 
a bug in openvpn-settings, but maybe someone can help me with this.

Original comment by J.hendri...@gmail.com on 23 Nov 2011 at 9:42

GoogleCodeExporter commented 8 years ago
i solved changing kernel to my mobile.

Original comment by eik...@gmail.com on 23 Nov 2011 at 10:05

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am having the same issue, connected but not able to move packets. XOOM 2.3.1 
tun.ko compiled for this kernel. Appears to be a route issue, /system/xbin is 
set in the config for ifconfig/route. Verified that the files exist in that 
directory. 
Anyone have any ideas?

Eddie 

Original comment by EddieFly...@gmail.com on 31 Dec 2011 at 10:55