3

I created an access point from my wireless network card (wlan0) using this answer.

My Android device is connected to internet through this access point called mylaptopAP.

My laptop is connected to Internet through wired LAN network (eth0).

Now I want to redirect all traffics from/to my Android device (which is connected to wlan0 AP) to Tor proxy. So that apps in my Android device could not find my location and identity from my Internet connection.

I read this question and its answer, but it is about making transparent proxy for all of my laptop system, but I need this only be applied to my wireless traffics. Because Tor is slow and I do not like that my whole laptop browsing/downloads become slow. I just need only traffics related to wlan0 access point are redirected to Tor.

2
  • 1
    I think your assumption that "I do not need this" is wrong. You do need a local proxy set up, the next step is making sure that everything from wlan0 is passed through that proxy. I don't know the answer but you could probably read up on iptables and learn how to make the rules mentioned unique for a special device only.
    – pzkpfw
    Aug 3, 2015 at 8:34
  • @pzkpfw Thank you, I edited the question so it better represents my need. Aug 3, 2015 at 9:53

1 Answer 1

0

I have a script for exactly what you need https://github.com/garywill/linux-router

# lnxrouter --ap wlan0 SSID --password PASSWORD --tp 9040 --dns-proxy 9053

In torrc TransPort 0.0.0.0:9040 DNSPort 0.0.0.0:9053

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .