Replies: 1 comment 1 reply
-
|
Hello,
The only thing I can see that I'm doing different from the documentation is that I'm forwarding to an https rather than http endoint.
The documentation uses 8080, which is not really http more
than https, but does use 'tls'
I was about to submit a bug report, but all examples I could find reference a plaintext http port for apache. So thought I'd ask first - _can_ this work with end-to-end TLS? or will it only work if forwarding to port 80 or something?
Yes, іt can! :D
Essentially ProxyProtocol is protocol-independant, just it
has to be supported by the end server.
The configuration you're refering to is what I'm using
personally, so I am pretty sure it works.
Can you post your sslh and Apache configuration, with logs
from both sides? Maybe use sslh' max verbose option to
ensure we have everything.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling to get proxyprotocol working. I have things configured in a way that I believe are correct both with both sslh and the apache backend, but, but I get no response from apache every time I enable RemoteIPProxyProtocol On... unless I also enable RemoteIPProxyProtocolExceptions 127.0.0.1, which defeats the purpose. The only thing I can see that I'm doing different from the documentation is that I'm forwarding to an https rather than http endoint. Here's my config:
sslh is listening on public:443 while apache is still listening on localhost:443. I'm doing this to limit the reconfiguration necessary with apache, as I have redirects in place forcing all traffic on port 80 to port 443. This works perfectly fine until I enable RemoteIPProxyProtocol, at which point I can no longer connect to apache through sslh at all. From what I could determine with my research based on these symptoms it seems that sslh is simply not adding the proxyprotocol header.
I was about to submit a bug report, but all examples I could find reference a plaintext http port for apache. So thought I'd ask first - can this work with end-to-end TLS? or will it only work if forwarding to port 80 or something?
Beta Was this translation helpful? Give feedback.
All reactions