Page 1 of 1

Tor proxy.

Posted: Wed May 17, 2017 3:39 pm
by drdudek
Dear All,
Could you please advise how to redirect all traffic from single host to tor proxy (proxy running in the same subnet)?
Thank you in advance.
M

Re: Tor proxy.

Posted: Wed May 17, 2017 3:48 pm
by SiB
If your MikroTik is a default gateway for those PC then you add a Firewall > NAT > + icon > DNAT rule where
*) chain=dstnat
*) src-address is PC1
*) protocol TCP
*) port=80
Action TAB
*) action: Dst-NAT
*) to-address=ProxyIPAddress

Re: Tor proxy.

Posted: Wed May 17, 2017 7:27 pm
by drdudek
Thanks for the answer, but I think this setup is for web/http proxy.
I asked about redirecting to TOR proxy which I believe runs SOCKS proxy.

Re: Tor proxy.

Posted: Thu May 18, 2017 2:14 am
by SiB
I not use tor proxy but I see those aplications. I think you must check my rules with proper PORT like:
HTTP, SSL, FTP, Gopher from there original port to 8118 and for socks to 9050.
Sorry, I haven't running this then I can only suggest to try run tor proxy and check his connection from your PC to web and torch (WinBox > Tools > Torch > select your LAN interface and press start) give you a proper socket=protocol+port. You can start any TCPView on your PC and diagnose what protocol/port is used via proper app.

I hope I help you to find solution. BR SiB.

Re: Tor proxy.

Posted: Mon Oct 16, 2017 12:51 am
by drdudek
Dear All,
I still have not succeeded with redirecting local IP traffic to to local SOCKS proxy.
I have tried with firewall NAT rules (chain:dstnnat, action:dst-nat), but withou success (it does not work with SOCKS).
Any ideas?
Thanks in advance.