redsocks/iptables should work with tor, I haven't tried though. It seems there is no auto-switching. After network switching iptables have to be toggled off and on again manually. Haven't figure out why...