What's new

How setup TOR only for .onion domains?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

BelarusOK

Occasional Visitor
Hello peoples!

Please help me setup my router for work TOR with only .ONION domains? And only with my list domains?
I no see "Rules for routing client traffic through the tunnel" such as VPN-Client.

And why there is all traffic through TOR? Without prescription of a proxy/socks?

Thanks in advance!

Asuswrt-Merlin 384.6 / RT-AC5300

86e76-clip-150kb.jpg
 
I can use Addon for Mozilla = FoxyProxy Standart.
Сhoose Socks5 IP : Port and write URL Patterns = *.onion/* and other domains.
befdf1937cc24418a44accb69fdba29c.png


But how on a router create necessary IP : Port without sending all traffic?
I have Telnet/SSH and entware.
 
Friends, there is no decision? o_O
 
I would love something like this as well. I have not looked very far into this. Perhaps there is a way using dnsmasq or nginx (proxy). I wish I could help more.
 
I have found some instruction, now it is necessary to choose from it GitHub:

1. Connect to ASUS SSH.
2. Execute:
Code:
cd /opt
opkg update
opkg install mc
opkg install tor
cat /dev/null > /opt/etc/tor/torrc

3. Open for edit:
Code:
mcedit /opt/etc/tor/torrc
User admin
PidFile /opt/var/run/tor.pid
DataDirectory /opt/var/lib/tor
ExcludeExitNodes {RU},{UA},{AM},{KG}
StrictNodes 1
#SocksPort 127.0.0.1:9050 # Локальный Socks прокси
VirtualAddrNetwork 10.254.0.0/16 # Виртуальные адреса для .onion ресурсов
AutomapHostsOnResolve 1
TransPort 192.168.1.1:9040 # Адрес LAN интерфейса
TransPort 127.0.0.1:9040
DNSPort 127.0.0.1:9053

Further I need your help. It is necessary for me that I on the computer could specify Socks : Port = 192.168.1.1 : 9050 or 9150 for the necessary websites.
 
Solved :cool:

ASUS RT-AC5300 | Merlin 384.6
entware

1. Connect via SSH.
2. Execute:
Code:
opkg update
opkg install tor
3. Via WinSCP go to /opt/etc/tor/torrc
4. We add at the beginning: SOCKSPort 192.168.1.1:9050
5. Start TOR
Code:
tor
6. Setup addon FoxyProxy Standart for browsers: Chrome / Mozilla
7. Go to addon and add new Socks5: 192.168.1.1 9050
Check this Send DNS through SOCKS5 proxy? ON
8. Save and go to setup Patterns, example:
White list
ONION | *.onion
Check TOR | *check.torproject.org
Check IP| *whoer.net
Rutor| *rutor.info
9. Include function: Use Unabled Proxies By Patterns and Priority
10. Testing - open any website from our list or onion, everything works! Nice! :)
 
Be mindful that you may lose anonymity by using this set up.

You can also use the onion.to service if caught in a pinch.

Sent from my SM-G965F using Tapatalk
 
If you do this, the FBI will come.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top