PF Getting tor/torsocks working through pf

I use pf and have it configured to block all traffic then only allow traffic out for certain tcp and udp services. I installed tor and torsocks and want to use torsocks for certain applications. I know it works correctly if i change my pf ruleset to allow all traffic and reload pf but I can't figure out how to get it working with pf. I tried watching which ports tor uses and adding those to my tcp services in addition to first just trying 9050 but nothing works. Does anyone know what I need to add to my ruleset to get it working? Thanks!
 
I solved it on my own. It turns out nothing needed to be added to my tcp services. i carefully read through my rules and at some point i accidentally commented out my set skip on lo0 rule. uncommenting it and reloading my ruleset fixed the problem and tor and torsocks work.
 
Back
Top