A while ago I setup an open hotspot guest network on our Wifi system using OpenWrt that routed all clients on that interface through a VPN in order to keep whatever shenanigans they might get up to on there from giving us trouble with our ISP. That setup was a little complex, having to use additional routing tables and firewall chains to bump onto the extra tables plus some scripting tweaks. It got me to thinking however, would it be possible to do this with Tor? I know Tor is essentially a local SOCKS proxy that only works with TCP, so to do this I'd have to reject all non TCP traffic and somehow socksify the TCP traffic to go via the Tor SOCKS server.
Looking through the opkg stuff there seems to be some potential candidates like Dante Socksify and shadow socks. Going to have to do some reading on those packages to see if they're suitable but was just curious if anyone else has attempted this and what solutions you used?