[Tor-BSD] Convert iptables to pf
diffusae
punasipuli at t-online.de
Tue Dec 20 19:25:21 EST 2016
Hello!
Does anybody know how to convert this to pf rules in FreeBSD:
iptables -t nat -A OUTPUT -p tcp -d 10.192.0.0/10 -j REDIRECT --to-ports
9040
I' running a Tor client in a jail on a different IP and want to route
only the .onion traffic through.
The DNS stuff is working fine, but I can't find a solution for the above
iptables rule, which is working. I like transparently do DNS and Routing
for .onion traffic on the network.
I looked into the wiki and also find some pf rules, which are routing
all the traffic though Tor, but this only works locally.
The machine is on FreeBSD 11.0-STABLE. Tor is running in a jail with
cloned loopback interface (lo1) and also a private IP address on the
main NIC.
Maybe you've some hints.
Thanks a lot
Regards,
More information about the Tor-BSD
mailing list