It may be illegal to protect your own network