EE will not function without internet access currently.
Community should function locally as long as everything is configured correctly. However, in future iterations having access to the internet will be a lot better in order for the server to properly diagnose your client's NAT type. It is still possible if you host at least 1 stun server yourself on that local network though (+ the NM server).