Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 7 comments
Labels

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 8 Mar 2013 at 1:59

@GoogleCodeExporter
Copy link
Author

Can you give a me log with the old version and a log of the new version?

Original comment by [email protected] on 8 Mar 2013 at 2:07

@GoogleCodeExporter
Copy link
Author

Sure,

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

Attached.

Original comment by [email protected] on 8 Mar 2013 at 2:19

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 8 Mar 2013 at 9:48

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 11 Mar 2013 at 12:37

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 19 Apr 2014 at 12:25

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 2 Jul 2014 at 1:15

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant