What are the best ways to simulate transport disconnects in local development

I’m trying to test the robustness of some of our mediasoup connection logic but I don’t have a great way to test transport connection disconnects and failures when I’m working on localhost. Is there anything mediasoup recommends or has built in that can help us?

Connecting to a vpn normally disconnects the transports. Not sure if that will help you using localhost.

Would love to learn more ways to do it too.