Martin Fishkov
Regular Contributor
Hi all,
I am trying, unsuccessfully, to route all traffic from one of my guest networks. I thought I'd copy the routing that Merlin used for the TOR setup (I want to route to the TOR proxy) so I tried this:
iptables -t nat -A PREROUTING -i wl0.1 -p udp --dport 53 -j REDIRECT --to-ports 9053
iptables -t nat -A PREROUTING -i wl0.1 -p tcp --syn ! -d 192.168.169.0/24 --match multiport --dports 80,443 -j REDIRECT --to-ports 9040
but no cigar. I'm quite clueless re iptables and routing, it turns out. Any help is appreciated!
(oh, my RT-AC68U runs Merlin 380.62_1)
I am trying, unsuccessfully, to route all traffic from one of my guest networks. I thought I'd copy the routing that Merlin used for the TOR setup (I want to route to the TOR proxy) so I tried this:
iptables -t nat -A PREROUTING -i wl0.1 -p udp --dport 53 -j REDIRECT --to-ports 9053
iptables -t nat -A PREROUTING -i wl0.1 -p tcp --syn ! -d 192.168.169.0/24 --match multiport --dports 80,443 -j REDIRECT --to-ports 9040
but no cigar. I'm quite clueless re iptables and routing, it turns out. Any help is appreciated!
(oh, my RT-AC68U runs Merlin 380.62_1)