burstas / udptunnel

Automatically exported from code.google.com/p/udptunnel
GNU General Public License v3.0
0 stars 0 forks source link

HTTPS traffic #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I don't seem to be able to get HTTPS traffic to go through the UDP tunnel, is 
there some fundamental reason I'm missing why this wouldn't work? 

I'm using a windows VM running the udptunnel in server mode as well as a XAMP 
server to test it out and another Windows VM acting as the client. I can access 
the XAMP site over http, but can't access the secure https site. 

Original issue reported on code.google.com by spu...@gmail.com on 21 Feb 2013 at 7:36

GoogleCodeExporter commented 9 years ago
If it works over HTTP, it should work over HTTPS. I just did a test to my 
webserver and it worked, but it seemed it occasionally missed some stuff. 
Here's what I ran:

On the server: ./udptunnel -vs 9999
On the client: ./udptunnel.exe -vc 7777 myservername 9999 127.0.0.1 443
In web browser on client: https://127.0.0.1:7777

The only thing I can think of that may be causing the issue is strict 
certificate checking. Since the traffic is tunneled and not going through a 
traditional proxy, the IP or host name the HTTPS client is connecting to won't 
match the certificate of the server. Check some of the SSL logs on the server 
to see if there are any failed SSL handshakes.

Original comment by dmeek...@gmail.com on 24 Feb 2013 at 4:25

GoogleCodeExporter commented 9 years ago
Ah, that was my problem. I was using Firefox's proxy setting and it kept saying 
the connection had been reset. Putting the port behind the URL worked like a 
charm!

Thanks for the reply.

Original comment by spu...@gmail.com on 25 Feb 2013 at 3:10