Websocket connection limit

Hello
I’m working on a websoket server, I’m using the cf websocket tunnel.

I want to do; With the setting I will make over cf, more than 10 websocket connections connected simultaneously from 1 ip are not allowed.

or

country lock only for “websocket connections” not for https?

is it possible?