longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Cannot connect after "Dual Stack version" throught USB tethering connection #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, 

Scenario:
I use the "USB tethering" to create an ethernet connection between the phone 
and the computer. The program OpenVPN-ICS could successfully connect to an 
address on the computer before the commit "Update openvpn to Dual Stack 
version" (rev. 848c73c55b7f).
After these changes the program informs that it is not possible to connect to 
the address and gives an error by timeout.

This error is already known? Is there any solution?
Currently I have to stay in version 0.5.24 to get to work.

Thanks,
Tiago

Original issue reported on code.google.com by tiagoaqu...@gmail.com on 8 Mar 2013 at 1:59

GoogleCodeExporter commented 9 years ago
Can you give a me log with the old version and a log of the new version?

Original comment by arne@rfc2549.org on 8 Mar 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Sure,

I just reinstalled both versions 0.5.24 (working) and 0.5.25 (not working) to 
get the logs.

Attached.

Original comment by tiagoaqu...@gmail.com on 8 Mar 2013 at 2:19

Attachments:

GoogleCodeExporter commented 9 years ago
Ah.  The old version had a bug that TCP sockets were not protected on 
successive tries which allowed this scenario to work. I have to think if I can 
solve this without introducing an additonal configuration option. 

Your use case is not an everyday use :)

Original comment by arne@rfc2549.org on 8 Mar 2013 at 9:48

GoogleCodeExporter commented 9 years ago
You are totally correct!
I took the source code of the latest version and commented that part of local 
IP protection and everything worked perfectly!

If will be an setting in the application to ignore that part would be perfect!

Thank you!

Original comment by tiagoaqu...@gmail.com on 11 Mar 2013 at 12:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I don't know whether this is the same problem, but it's very similar:

When I allow my htc one (Android 4.3, not rooted) to share its Internet 
connection and then connect it by USB to my Linux Laptop, it is possible to 
connect from the smartphone to the laptop e.g. via telnet or ssh. 

Running an OpenVPN server on TCP-Port 1194 of my laptop, a telnet from the 
smartphone to this port will cause the expected result: a report of a failed 
connection attempt in the OpenVPN server log file.

But when I try to establish an OpenVPN connection from the smartphone (client), 
I get nothing but a timeout after 10 seconds, while on the Laptop (i.e. the 
OpenVPN server) not even a connection attempt is being registered.

Original comment by hvhatzf...@gmail.com on 19 Apr 2014 at 12:25

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by arne@rfc2549.org on 2 Jul 2014 at 1:15