Hello, I was wondering if it's possible to run a Web server and tor ORPort on the same port. I'm using nginx for my web server and I'm using ports 80 and 443, it would be cool if the ORPort could also be 443, that would help people that are behind firewalls, but I can't find any solution for this on google. Is there any way to accomplish this?
On 21.02.2018 20:38, pikami wrote:
I was wondering if it's possible to run a Web server and tor ORPort on the same port.
Not easily. There is sslh, a "port multiplexer", but I have no experience with it: https://github.com/yrutschle/sslh
I just relised that the 21(FTP) port is not blocked in most of the restricted places so I'm going to use it. Thanks for your post thou
On 2018 m. vasario 21 d. 21:54:43 GMT+02:00, Moritz Bartl moritz@torservers.net wrote:
On 21.02.2018 20:38, pikami wrote:
I was wondering if it's possible to run a Web server and tor ORPort
on
the same port.
Not easily. There is sslh, a "port multiplexer", but I have no experience with it: https://github.com/yrutschle/sslh
-- Moritz Bartl https://www.torservers.net/ _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
On Wed, 21 Feb 2018 21:38:56 +0000, pikami wrote: ...
I was wondering if it's possible to run a Web server and tor ORPort on the same port.
Not without code changes inside tor. There can only be one instance who accepts the SSL connections. This would be reasonably be the tor process, which would need an addition to act as a SSL terminator for other domains/certs/SNI names, and forward those (decrypted) to some nginx instances.
Unless, obviously, you have two IP addresses to use. Then it's just binding.
Is there any way to accomplish this?
Erm, happy hacking. I don't expect to see something like this in the tor code base.
Andreas
tor-relays@lists.torproject.org