FreeBSD folks ...
-
FreeBSD folks ... I'm trying to run two Gemini capsules on the same IP address, for two different domains, on two different ports.
My understanding is that I need to route traffic to the correct capsule using SNI routing.
Any recommendations for a simple SNI router I could install on FreeBSD to achieve this?
-
FreeBSD folks ... I'm trying to run two Gemini capsules on the same IP address, for two different domains, on two different ports.
My understanding is that I need to route traffic to the correct capsule using SNI routing.
Any recommendations for a simple SNI router I could install on FreeBSD to achieve this?
@duncan_bayne I've used sniproxy for projects in the past and it's worked fine without fuss. (`pkg install sniproxy`) It's not exactly the most modern or feature-rich of software.
On my next similar project I'd probably look into Caddy to see if it can work in this mode as well and I've heard good things about it. -
FreeBSD folks ... I'm trying to run two Gemini capsules on the same IP address, for two different domains, on two different ports.
My understanding is that I need to route traffic to the correct capsule using SNI routing.
Any recommendations for a simple SNI router I could install on FreeBSD to achieve this?
@duncan_bayne On FreeBSD: use Hitch as a simple TLS/SNI router (Gemini is TLS), listening on :1965, and route by SNI to your two local Gemini backends on different ports.
Alternative: HAProxy if you want something more full-featured. -
FreeBSD folks ... I'm trying to run two Gemini capsules on the same IP address, for two different domains, on two different ports.
My understanding is that I need to route traffic to the correct capsule using SNI routing.
Any recommendations for a simple SNI router I could install on FreeBSD to achieve this?
@duncan_bayne I'm using stunnel for that, it's available in the FreeBSD pkg repository. Simple and easy to configure. -
undefined stefano@mastodon.bsd.cafe shared this topic