Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using keepalived to load-balance connections to 4 servers.

Is there any way to route all non-logged-in users to one server and all logged-in users to the other 3 servers?

I can update a list/csv/database on the load balancer that runs keepalived with the IPs of logged in users.

I've been looking everywhere but couldn't find any effective solution.


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.