Can someone offer a brief walk-through for firewalling Ubuntu 16 with UFW for tor. I only want to allow tor traffic out on my device. I'm not sure if it's even possible with UFW.
# ufw default deny incoming
# ufw default deny outgoing
# ufw allow out on <wireless interface> to any proto tcp port 9001
# ......?
I'm certain this is wrong. Any info on this would be valued. Cheers.
ufw
does not provide sufficient functionality to configure a Tor enforcing connection. Instead you should disableufw
entirely, and use something likeferm
, as described here: tor.stackexchange.com/questions/12343/…