> From: Josealf.rm <[email protected]> > Sent: Friday, November 3, 2017 1:21 PM > To: Osvald Brko > Cc: [email protected] > Subject: Re: [stunnel-users] Web browsing over stunnel
> It’s because the web site GETs a request for http://127.0.0.1/ not for > http://www.stunnel.org/ > Just as an academic exercise, you may want to add this line to your hosts > file (usually in \windows\system32\drivers\etc\hosts): > 127.0.0.1 www.stunnel.net > Then change your connect line to the IP address of www.stunnel.net (now > 104.239.213.7 or 198.105.254.11). > And test again. > Saludos > Jose Alfredo Diaz Hi, I am not sure if I understand you right. What this academic exercise should reveal? It just try to connect to 127.0.0.1 ...? hosts: #127.0.0.1 localhost 127.0.0.1 www.stunnel.org browser: http://www.stunnel.org:8888/ stunnel.conf : [https_test] client = yes accept = 127.0.0.1:8888 connect = www.stunnel.org:443 2017.11.06 22:14:28 LOG7[main]: Service [https_test] (FD=260) bound to 127.0.0.1:8888 2017.11.06 22:14:28 LOG7[cron]: Cron thread initialized 2017.11.06 22:14:42 LOG7[main]: Found 1 ready file descriptor(s) 2017.11.06 22:14:42 LOG7[main]: FD=236 ifds=r-x ofds=--- 2017.11.06 22:14:42 LOG7[main]: FD=248 ifds=r-x ofds=--- 2017.11.06 22:14:42 LOG7[main]: Service [https_test] accepted (FD=284) from 127.0.0.1:2372 2017.11.06 22:14:42 LOG7[main]: Creating a new thread 2017.11.06 22:14:42 LOG7[main]: New thread created 2017.11.06 22:14:42 LOG7[0]: Service [https_test] started 2017.11.06 22:14:42 LOG7[0]: Option TCP_NODELAY set on local socket 2017.11.06 22:14:42 LOG5[0]: Service [https_test] accepted connection from 127.0.0.1:2372 2017.11.06 22:14:42 LOG6[0]: s_connect: connecting 127.0.0.1:443 2017.11.06 22:14:42 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:443: waiting 10 seconds 2017.11.06 22:14:43 LOG3[0]: s_connect: connect 127.0.0.1:443: Connection refused (WSAECONNREFUSED) (10061) 2017.11.06 22:14:43 LOG3[0]: No more addresses to connect 2017.11.06 22:14:43 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket 2017.11.06 22:14:43 LOG7[0]: Local descriptor (FD=284) closed 2017.11.06 22:14:43 LOG7[0]: Service [https_test] finished (0 left) _______________________________________________ stunnel-users mailing list [email protected] https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
