Both of these two options other than Libredirect are fairly inconvenient for switching between instances or having to maintain multiple for different frontends. Furthermore, while it doesn't obviously guarantee it won't become malware, Libredirect is completely open source.