Limiting Bandwidth for internet excluding local network hosts

Hello
I’m trying to limit the bandwidth of my internet users but without limiting them to my local network is there any way to do that?
for example I have a file sever on my network and my users to be limited of using the internet but not for the file server which have a private IP address.
Best Regards.