You are not logged in.
Hi guys!
Tor and Privoxy work okay here. But how to configure them so the laptop, which is part of the LAN, can also run on anonymous connection? I only need them to be used with Firefox. I use Torbutton here and would like to do the same in the laptop.
As there's no router, I use this script so the laptop can have internet connection:
ifconfig eth0 192.168.0.1
iptables -t nat -I POSTROUTING -s 192.168.0.2 -d 0/0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forwardSo, what do I have to change in order to the laptop access internet via Tor and Privoxy?
Thank You!
Last edited by ILoveJapaneseGirls (2010-02-14 21:16:43)
Offline
Do you set privoxy to use tor?
If yes, just change "listen-address 127.0.0.1:port" to "listen-address 192.168.0.1:port" in /etc/privoxy/config in the desktop and set "192.168.0.1:port" as an http proxy in the laptop.
port is the port number you use of course.
Last edited by Nezmer (2010-01-10 19:45:11)
English is not my native language .
Offline
But how to configure them so the laptop, which is part of the LAN, can also run on anonymous connection?
Hi, I wrote a small guide on building a Tor gateway for your LAN. It explains how to configure your applications but also explains things like torsocks, tsocks and torify. It doesn't have any Privoxy information, but it doesn't matter much, difference is only in ports used and the proxy type. http://sysphere.org/~anrxc/j/articles/tor/index.html
If you are wondering why such a guide is missing information on Privoxy; it is because Firefox no longer leaks DNS requests and in addition Tor can now work as a DNS forwarder/proxy. Privoxy is useful for preventing DNS leaks, caching or ad filtering... but a lot of applications can do without it today, and after all it is a small guide :^)
You need to install an RTFM interface.
Offline
So, i tried both ways but it still didn't work. ![]()
anrxc: i didn't know i could still prevent DNS leak without privoxy. Privoxy always blocked flash animations and videos (like youtube) here. I'll try to set up this better tomorrow when i have more time.
By the way, after following your guide, i got this when executing /usr/bin/tor:
Jan 10 19:29:16.993 [notice] Tor v0.2.1.21. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
Jan 10 19:29:16.994 [warn] Skipping obsolete configuration option 'Group'
Jan 10 19:29:16.995 [notice] Initialized libevent version 1.4.12-stable using method epoll. Good.
Jan 10 19:29:16.995 [notice] Opening Socks listener on 127.0.0.1:9050
Jan 10 19:29:16.995 [notice] Opening Socks listener on 192.168.0.1:9050
Jan 10 19:29:16.995 [warn] Could not bind to 192.168.0.1:9050: Cannot assign requested address
Jan 10 19:29:16.995 [notice] Closing partially-constructed listener Socks listener on 127.0.0.1:9050
Jan 10 19:29:16.995 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Jan 10 19:29:16.995 [err] Reading config failed--see warnings above.Last edited by ILoveJapaneseGirls (2010-01-10 22:00:12)
Offline
By the way, after following your guide, i got this when executing /usr/bin/tor
Arch has a nice tor package prepared for you, which you should install on your server, you don't need to follow the installation instructions... however the guide does not say to run /usr/bin/tor at any point. It instructs to use the init script to control it. In Arch when you install the tor package you get a nice init script /etc/rc.d/tor.
I presume you tried to run tor as a user, that's why you got the error, you can't bind to port 9050 as a user. You should run tor as root and it will assume the privileges of user and group you defined in its configuration.
Why are we even talking about this, you said that you already have Tor installed and running perfectly? Maybe you tried to install it now on the second computer? You don't need to do that, you only need to configure your current installation to listen on the network interface connected with the rest of your LAN.
You need to install an RTFM interface.
Offline
For you who found this topic looking for the solution of this problem, consider visiting this topic: http://bbs.archlinux.org/viewtopic.php?id=91136
This is issue has been already solved there. ![]()
Offline