JoeTheDownloader
Occasional Visitor
Hi,
I would like a single MAC address in my network to always push *everything* via TOR. I have enabled the TOR feature in Merlin 380.63_2 and set the target MAC address, leaving all other settings at their defaults, but in testing I notice the following behaviour:
* If I SSH to the test box and run "wget http://ipinfo.io/ip -qO -" I *do* see a TOR exit node IP, so everything looks good.
* However other traffic from the box seems to go out as normal - not via TOR. Additionally, performance is unaffected and way too fast for TOR (as in I am not getting the slow performance that I would expect if I was being TORed properly).
* Traceroute shows normal exit through my ISP.
So it seems like TOR is only half working for the MAC address?
Here are the relevant bits from "iptables -t nat -L -nv --line"
Chain PREROUTING (policy ACCEPT 7598 packets, 527K bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194
2 2563 186K VSERVER all -- * * 0.0.0.0/0 <MYPUBIPSNIPPEDOUT>
3 0 0 VSERVER all -- * * 0.0.0.0/0 <SOMEAPIPAIPSNIPPEDOUT>
4 93 6486 REDIRECT udp -- br0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53 MAC <TARGETMACSNIPPEDOUT> redir ports 9053
5 75 4500 REDIRECT tcp -- br0 * 0.0.0.0/0 !10.99.101.0/24 tcpflags: 0x17/0x02 MAC <TARGETMACSNIPPEDOUT> multiport dports 80,443 redir ports 9040
Thanks for any comments.
I would like a single MAC address in my network to always push *everything* via TOR. I have enabled the TOR feature in Merlin 380.63_2 and set the target MAC address, leaving all other settings at their defaults, but in testing I notice the following behaviour:
* If I SSH to the test box and run "wget http://ipinfo.io/ip -qO -" I *do* see a TOR exit node IP, so everything looks good.
* However other traffic from the box seems to go out as normal - not via TOR. Additionally, performance is unaffected and way too fast for TOR (as in I am not getting the slow performance that I would expect if I was being TORed properly).
* Traceroute shows normal exit through my ISP.
So it seems like TOR is only half working for the MAC address?
Here are the relevant bits from "iptables -t nat -L -nv --line"
Chain PREROUTING (policy ACCEPT 7598 packets, 527K bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194
2 2563 186K VSERVER all -- * * 0.0.0.0/0 <MYPUBIPSNIPPEDOUT>
3 0 0 VSERVER all -- * * 0.0.0.0/0 <SOMEAPIPAIPSNIPPEDOUT>
4 93 6486 REDIRECT udp -- br0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53 MAC <TARGETMACSNIPPEDOUT> redir ports 9053
5 75 4500 REDIRECT tcp -- br0 * 0.0.0.0/0 !10.99.101.0/24 tcpflags: 0x17/0x02 MAC <TARGETMACSNIPPEDOUT> multiport dports 80,443 redir ports 9040
Thanks for any comments.
Last edited: