I got it working as a FE module on the server and a normal mod on the client