Page 1 of 1

Problem in some connections

Posted: Sun May 20, 2018 3:56 pm
by omid98
Hi guys,
I'm using openvpn both in my laptop and my phone(android 5.0.1)
my laptop works properly, but my phone has some problem with openvpn
I connect normally to my server through "openvpn connect"(android) but some features of apps not works!
for example I can download messages and clips from telegram, but I can't upload any thing or Google play store doesn't show anything, although my laptop works properly with same profile

Any idea how to fix it?

both my laptop and my phone use same network to connect to internet

Re: Problem in some connections

Posted: Mon May 21, 2018 10:08 am
by BohdanHamulets
Please see this:
viewtopic.php?f=30&t=22603

More details make it easier for other members to understand your issue and help out with it.

Re: Problem in some connections

Posted: Fri May 25, 2018 1:37 pm
by omid98
thanks for noticing. As I said there is no problem in other devices even other androids which use same "openvpn connect".
So there is no problem with Server/client config.
I used "netstat" command in my android 5.0.1 and I get some amazing results:

Code: Select all

Proto Recv-Q Send-Q Local Address          Foreign Address        State
 tcp       0   3652 10.8.0.14:37728        172.217.20.78:443      ESTABLISHED
 tcp       1      1 10.8.0.14:42679        216.58.211.98:443      LAST_ACK
 tcp       1      1 10.8.0.14:34480        172.217.20.106:443     LAST_ACK
 tcp     337      0 10.8.0.14:42681        216.58.211.98:443      ESTABLISHED
 tcp     337      0 10.8.0.14:42690        216.58.211.98:443      ESTABLISHED
 tcp       1      0 10.8.0.14:42682        216.58.211.98:443      CLOSE_WAIT
 tcp       0      1 192.168.1.5:47806      31.13.72.53:443        LAST_ACK
 tcp       0      0 10.8.0.14:49482        149.154.167.51:443     ESTABLISHED
 tcp       1      0 10.8.0.14:48068        172.217.20.67:443      CLOSE_WAIT
 tcp       0      0 10.8.0.14:42691        216.58.211.98:443      ESTABLISHED
 tcp       0      0 10.8.0.14:42680        216.58.211.98:443      ESTABLISHED
 udp       0      0 192.168.1.5:41374      ***my vpn server***    ESTABLISHED
tcp6       0      0 :::59777               :::*                   LISTEN
tcp6       0      0 ::ffff:127.0.0.1:54510 :::*                   LISTEN
tcp6       0      0 ::ffff:127.0.0.1:55087 :::*                   LISTEN
tcp6       0      0 :::42135               :::*                   LISTEN
tcp6       0      0 ::ffff:192.168.1.5:54393 :::*                   LISTEN
tcp6       1      0 ::ffff:10.8.0.14:51555 ::ffff:172.217.17.46:443 CLOSE_WAIT
tcp6       1      0 ::ffff:10.8.0.14:45203 ::ffff:103.235.47.74:80 CLOSE_WAIT
tcp6       0   4300 ::ffff:10.8.0.14:34139 ::ffff:216.58.211.98:443 ESTABLISHED
tcp6       0   1420 ::ffff:10.8.0.14:57606 ::ffff:172.217.20.78:443 ESTABLISHED
tcp6      32      0 ::ffff:10.8.0.14:52414 ::ffff:216.137.41.106:443 CLOSE_WAIT
tcp6       1      0 ::ffff:192.168.1.5:47176 ::ffff:172.217.18.10:443 CLOSE_WAIT
tcp6       1      1 ::ffff:10.8.0.14:55773 ::ffff:172.217.20.78:443 LAST_ACK
tcp6       1      1 ::ffff:10.8.0.14:35301 ::ffff:103.235.46.151:80 LAST_ACK
tcp6       1      0 ::ffff:192.168.1.5:39404 ::ffff:13.32.222.132:80 CLOSE_WAIT
tcp6       1      0 ::ffff:10.8.0.14:38384 ::ffff:103.235.46.129:80 CLOSE_WAIT
tcp6       0      0 ::ffff:10.8.0.14:34292 ::ffff:31.13.72.8:443  ESTABLISHED
tcp6       1      0 ::ffff:192.168.1.5:54501 ::ffff:172.217.16.206:443 CLOSE_WAIT
tcp6       0   1368 ::ffff:10.8.0.14:56935 ::ffff:180.97.104.54:80 ESTABLISHED
tcp6       1      0 ::ffff:10.8.0.14:37099 ::ffff:172.217.20.106:443 CLOSE_WAIT
tcp6      32      0 ::ffff:10.8.0.14:57863 ::ffff:72.30.3.80:443  CLOSE_WAIT
tcp6       1      1 ::ffff:192.168.1.5:47674 ::ffff:172.217.23.138:443 LAST_ACK
tcp6       1      1 ::ffff:10.8.0.14:42317 ::ffff:74.125.100.38:443 LAST_ACK
tcp6      32      0 ::ffff:10.8.0.14:35330 ::ffff:204.236.236.214:443 CLOSE_WAIT
tcp6      32      0 ::ffff:10.8.0.14:60421 ::ffff:31.13.72.8:443  CLOSE_WAIT
tcp6       0      0 ::ffff:10.8.0.14:44088 ::ffff:104.244.42.66:443 ESTABLISHED
tcp6       1      0 ::ffff:10.8.0.14:56821 ::ffff:91.194.205.16:80 CLOSE_WAIT
tcp6       0      1 ::ffff:10.8.0.14:48391 ::ffff:103.235.47.74:80 LAST_ACK
tcp6       0   4242 ::ffff:10.8.0.14:37395 ::ffff:216.58.211.98:443 ESTABLISHED
tcp6       0      0 ::ffff:10.8.0.14:53352 ::ffff:173.194.79.188:5228 ESTABLISHED
tcp6       1      0 ::ffff:10.8.0.14:36972 ::ffff:172.217.20.67:443 CLOSE_WAIT
tcp6       0      0 ::ffff:192.168.1.5:37557 ::ffff:52.30.196.173:5223 ESTABLISHED
tcp6       1      0 ::ffff:192.168.1.5:53663 ::ffff:172.217.20.78:80 CLOSE_WAIT
tcp6       0      0 ::ffff:10.8.0.14:42881 ::ffff:192.48.236.11:80 ESTABLISHED
tcp6       0      0 ::ffff:192.168.1.5:37735 ::ffff:34.193.76.177:443 ESTABLISHED
tcp6       1      0 ::ffff:10.8.0.14:44424 ::ffff:103.235.47.74:80 CLOSE_WAIT
tcp6       0   4575 ::ffff:10.8.0.14:57790 ::ffff:216.58.211.98:443 ESTABLISHED
tcp6       1      0 ::ffff:10.8.0.14:34193 ::ffff:103.235.46.129:80 CLOSE_WAIT
tcp6       0     23 ::ffff:192.168.1.5:53044 ::ffff:172.217.18.174:443 CLOSE_WAIT
tcp6       1      0 ::ffff:10.8.0.14:54448 ::ffff:54.153.125.171:80 CLOSE_WAIT
tcp6      32      0 ::ffff:10.8.0.14:48359 ::ffff:103.235.47.74:443 CLOSE_WAIT
tcp6       0      0 ::ffff:10.8.0.14:53604 ::ffff:199.16.156.107:443 ESTABLISHED
tcp6      32      0 ::ffff:10.8.0.14:45031 ::ffff:54.225.156.155:443 CLOSE_WAIT
tcp6     162      0 ::ffff:192.168.1.5:59140 ::ffff:217.146.190.234:993 CLOSE_WAIT
tcp6      32      0 ::ffff:10.8.0.14:40939 ::ffff:103.235.47.74:443 CLOSE_WAIT
tcp6       0      0 ::ffff:10.8.0.14:47898 ::ffff:104.244.46.39:443 ESTABLISHED
tcp6       0   4605 ::ffff:10.8.0.14:35841 ::ffff:216.58.211.98:443 ESTABLISHED
tcp6      32      0 ::ffff:10.8.0.14:37707 ::ffff:103.235.47.74:443 CLOSE_WAIT
udp6       0      0 :::1900                :::*                   CLOSE
udp6       0      0 ::ffff:192.168.1.5:52925 :::*                   CLOSE
udp6       0      0 :::5353                :::*                   CLOSE
As you can see, some connections doesn't go through vpn!!
Do you have any solutions?

Re: Problem in some connections

Posted: Mon Nov 26, 2018 9:13 pm
by alichiddy
Hi, did you find the solution to your problem? I have the same problem 😊.

Re: Problem in some connections

Posted: Wed Dec 12, 2018 2:50 pm
by alichiddy
alichiddy wrote:
Mon Nov 26, 2018 9:13 pm
Hi, did you find the solution to your problem? I have the same problem 😊.
(Update) My problem was solved by changing the Protocol type to tcp instead of udp.