diffusae:
I looked into the wiki and also find some pf rules, which are routing all the traffic though Tor, but this only works locally.
You're likely talking about this wiki: https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy#Anonymizi... I've tried these rules for Anonymizing Middlebox (though on modern OpenBSD) quite some time ago and it seemed to work fine. These should not only work locally - it's for entire LAN. Are these ones you tried?
-- Ivan Markin