[sslh] sslh not working together with curl

ondra+sslh at mistotebe.net ondra+sslh at mistotebe.net
Wed Feb 11 09:21:05 CET 2015


On Tue, Feb 10, 2015 at 03:47:52PM +0000, Matt Smith wrote:
> On Feb 10 16:31, Yves Rutschle wrote:
>>On Tue, Feb 10, 2015 at 10:24:27AM +0100, Matthias Fechner wrote:
>> It should work fine with IPv6, although I am not completely
>> sure it would support both IPv6 ad IPv4 (I don't see why
>> not, but I don't use IPv6 myself yet, and that was added
>> quite a while ago so I forgot if I tested that
>> specifically).
>>
>> -> Does it work if you ruun sslh on IPv6 only (remove the
>> IPv4 lin)?
>> -> What does it say when it "refuses to start" (run it with
>> -f -v to have as much info as possible).
> 
> For your info I run it with both v4 and v6 and it works fine. But I
> configure it on the command line rather than using the config file.
> So I do something like this:
> 
> sslh-select -u nobody -n -p 1.2.3.4:443 -p 2001:123:123::1:443 -t 2
> --on-timeout ssh --tls 127.0.0.1:443 --http 127.0.0.1:80 --ssh
> 127.0.0.1:22 --openvpn 127.0.0.1:1194 --anyprot 127.0.0.1:443
> 
> It makes it listen on both v4 and v6, but then just forwards
> everything to v4. What would be nice actually is if you could have
> an option to forward v4 to v4 and v6 to v6, but then I guess the
> command line would get rather complicated for not much point.

You could always run two sslh instances, one on v4 and one v6 each with
different preferences.

Cheers,
Ondra



More information about the sslh mailing list