...create a script to quickly add a domain or IP address to the IPSet lists with addition to the routing table and inclusion in the redirection rules;
we use SSH to provide a secure channel of communication to these internet of yours.
A bit of theory
What do we need to make everything work, and...