TOR doesn't work. WHY?

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
evolisat
Posts: 12
Joined: Thu Nov 07, 2013 4:34 am

TOR doesn't work. WHY?

Post by evolisat »

I have a main modem router (fastweb italy) connect at phone line, is connected to this one a switch and is connected to this one my tplinkwr1043nd router with gargoyle and tor plugin (using the wan port with an Ethernet cable). At Lan Port labeled 1, I connected my laptop. So when I surf on the web is everything ok, but when i use the onion address it doesn't work. I try with gargoyle 1.5.10 and 1.5.9 and tor preinstalled, i configured Tor client with hidden service only and connect via Tor relay. I don't touch tor server. Also I try restart tor through putty ssh to my router typing: /etc/init.d/tor restart. But when i check onion address visiting https://check.torproject.org/ appears always the same message "Sorry. You are not using Tor".
P.S. I use un usb pen drive 512MB (120MB on linux swap and the rest formatted in fat32), in fact in the status voice Gargoyle use the main memory and the swap memory.
Please help me, I'm desperate :roll:

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: TOR doesn't work. WHY?

Post by Eric »

In the future DO NOT PM me and post in the forum at the exact same time. Bombarding me with requests from multiple directions at the same time is a pet peeve of mine.

However, I may be able to help. Can you post a screenshot of your tor configuration screen? Also, if you ssh into your router and run "ps" do you see tor running? Finally, if you could post the output of "iptables -t nat -L", that would be very helpful.

evolisat
Posts: 12
Joined: Thu Nov 07, 2013 4:34 am

Re: TOR doesn't work. WHY?

Post by evolisat »

gargoyle main page
gargoyle main page
gargoyle main page.JPG (51.72 KiB) Viewed 7511 times
I'm sorry for my insistence
will not happen again
I will send you what did you ask me
I attached two files and below the log of putty ssh command ps and iptables

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2013-05-20 16:33:46 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

------------------------------------------------------------------
| _____ _ |
| | __ \ | | |
| | | \/ __ _ _ __ __ _ ___ _ _| | ___ |
| | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \ |
| | |_\ \ (_| | | | (_| | (_) | |_| | | __/ |
| \____/\__,_|_| \__, |\___/ \__, |_|\___| |
| __/ | __/ | |
| |___/ |___/ |
| |
|----------------------------------------------------------------|
| Gargoyle version 1.5.10 | OpenWrt Attitude Adjustment branch |
| Gargoyle revision e9259ee | OpenWrt revision r36669 |
| Built May 20, 2013 | Target ar71xx/usb_large |
------------------------------------------------------------------
root@Gargoyle:~# ps
PID USER VSZ STAT COMMAND
1 root 1504 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW [kworker/u:0]
6 root 0 SW< [khelper]
63 root 0 SW [sync_supers]
65 root 0 SW [bdi-default]
67 root 0 SW< [kblockd]
96 root 0 SW [kswapd0]
145 root 0 SW [fsnotify_mark]
158 root 0 SW< [ath79-spi]
169 root 0 SW [mtdblock0]
174 root 0 SW [mtdblock1]
179 root 0 SW [mtdblock2]
184 root 0 SW [mtdblock3]
189 root 0 SW [mtdblock4]
194 root 0 SW [mtdblock5]
235 root 0 SW [kworker/0:1]
408 root 0 SWN [jffs2_gcd_mtd3]
423 root 0 SW [kworker/0:2]
427 root 1504 S init
458 root 0 SW< [cfg80211]
473 root 0 SW [khubd]
497 root 0 SW< [rpciod]
510 root 0 SW< [nfsiod]
620 root 0 SW [scsi_eh_0]
621 root 0 SW [usb-storage]
638 root 0 SW [kworker/u:2]
657 root 1508 S /sbin/syslogd -C16
659 root 1492 S /sbin/klogd
661 root 856 S /sbin/hotplug2 --override --persistent --set-rules-f
667 root 872 S /sbin/ubusd
673 nobody 1020 S /usr/sbin/portmap
677 root 1452 S /sbin/netifd
741 root 1508 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
2091 root 1152 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
2162 root 1344 S httpd_gargoyle -c cgi-bin/**|**.sh|**.cgi|**.csv -d
2316 root 0 SW [jbd2/sda1-8]
2317 root 0 SW< [ext4-dio-unwrit]
2404 nobody 956 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
2407 root 1500 S /sbin/watchdog -t 5 /dev/watchdog
5706 root 1028 S /usr/sbin/miniupnpd -f /var/etc/miniupnpd.conf
9034 root 1504 S N /usr/sbin/ntpd -n -l -p 0.europe.pool.ntp.org -p 1.e
9612 root 11248 S N tor --User root --PidFile /var/run/tor.pid --RunAsDa
9922 root 1508 S N /usr/sbin/crond -c /etc/crontabs -l 9
22888 root 1216 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
22889 root 1504 S -ash
22909 root 1496 R ps
root@Gargoyle:~# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
prerouting_rule all -- anywhere anywhere
zone_lan_prerouting all -- anywhere anywhere
zone_wan_prerouting all -- anywhere anywhere

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
postrouting_rule all -- anywhere anywhere
zone_lan_nat all -- anywhere anywhere
zone_wan_nat all -- anywhere anywhere

Chain MINIUPNPD (1 references)
target prot opt source destination

Chain pf_loopback_A (1 references)
target prot opt source destination

Chain pf_loopback_C (1 references)
target prot opt source destination

Chain postrouting_rule (1 references)
target prot opt source destination
pf_loopback_C all -- anywhere anywhere

Chain prerouting_lan (1 references)
target prot opt source destination

Chain prerouting_rule (1 references)
target prot opt source destination

Chain prerouting_wan (1 references)
target prot opt source destination

Chain tor_client (1 references)
target prot opt source destination
REDIRECT udp -- anywhere anywhere udp dpt:domain LAYER7 l7proto oniondns redir ports 9053
REDIRECT tcp -- anywhere anywhere tcp dpt:domain LAYER7 l7proto oniondns redir ports 9053
REDIRECT tcp -- anywhere 10.192.0.0/12 tcp dpt:!domain redir ports 9040

Chain zone_lan_nat (1 references)
target prot opt source destination

Chain zone_lan_prerouting (1 references)
target prot opt source destination
tor_client all -- anywhere anywhere
pf_loopback_A all -- anywhere 192.168.1.133
prerouting_lan all -- anywhere anywhere

Chain zone_wan_nat (1 references)
target prot opt source destination
MASQUERADE all -- anywhere anywhere

Chain zone_wan_prerouting (1 references)
target prot opt source destination
MINIUPNPD all -- anywhere anywhere
REDIRECT tcp -- anywhere anywhere tcp dpt:ssh redir ports 22
prerouting_wan all -- anywhere anywhere
root@Gargoyle:~#
Attachments
gargoyle tor configuration
gargoyle tor configuration
gargoyle tor configuration.JPG (49.63 KiB) Viewed 7511 times

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: TOR doesn't work. WHY?

Post by Eric »

You've selected hidden service access only, so if you visit the torcheck site (which is not a hidden service), the request won't go through tor and it will report that you are not using tor.

Which hidden service are you trying to access? A large number of hidden service sites have gone down recently due to legal troubles even though Tor continues to function properly. Try connecting to TorDir: http://dppmfxaacucguzpc.onion/ which I know is still up and running (just checked).

evolisat
Posts: 12
Joined: Thu Nov 07, 2013 4:34 am

Re: TOR doesn't work. WHY?

Post by evolisat »

So If I understand well, my router and tor configuration is ok? The only problem is the check page.
So in my router Tor plugin works correctly?
I will try
thanks for now

evolisat
Posts: 12
Joined: Thu Nov 07, 2013 4:34 am

Re: TOR doesn't work. WHY?

Post by evolisat »

thank you Eric, all works very vey well
you're the best

Post Reply