On Thu, Jun 14, 2018 at 9:01 AM, Andrea Venturoli <m...@netfence.it> wrote:

> On 05/21/18 18:10, Andrea Venturoli wrote:
>
> Thanks to anyone who answered.
>>
>> I'm currently trying net/bounce, as suggested by Eugene.
>> If that won't work properly, I'll sure give plugdaemon a shot.
>>
>
> Just an update in case anyone is interested...
>
> Bounce is still dying occasionally; in some way it is better than
> tcpproxy, in that it uses different process, one for each port, so when one
> dies, the other ports will still work (when tcpproxy dies, all port
> redirections stop working).
>
> I still haven't managed to understang why it dies: really no clue is in
> the log...
> It's always the same port (same device) and once I had to tcpdrop a
> FIN_WAIT2 connection in order to be able to restart it.
>
> Guess I'll have to get daemontools' svscan out again.
>

haproxy or nginx can do tcp proxy/lb.  I haven't used nginx for that
exactly but here's your doc:

https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

-- 
Adam
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to