LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Privoxy + Tor 503 Error in .onion and localhost (https://www.linuxquestions.org/questions/linux-networking-3/privoxy-tor-503-error-in-onion-and-localhost-905969/)

markmb 10-01-2011 04:53 PM

Privoxy + Tor 503 Error in .onion and localhost
 
Hello!
I've installed and configured TOR and Privoxy in my computer. It works really well, but it has a problem:
I've been trying to access .onion directions and localhost (localhost, 127.0.0.1, 192.168.1.1) and it throws a 503 error:
Code:

503       
This is Privoxy 3.0.17 on localhost (127.0.0.1), port 8118, enabled
Forwarding failure
Privoxy was unable to socks4a-forward your request http://localhost/ through localhost: SOCKS request rejected or failed.

Just try again to see if this is a temporary problem, or check your forwarding settings and make sure that all forwarding servers are working correctly and listening where they are supposed to be listening.

I'd like to enter to localhost because I want to try a script.

I'm using Chromium Browser with the default flags: -proxy-server=127.0.0.1:8118 in a config file (I can't remember now its exact position)

Thank you in advance

unSpawn 10-02-2011 08:04 AM

AFAIK TOR has no concept of "localhost" because for the TOR end point it resolves to its own localhost. Try setting up your own .onion server address and using that instead?

markmb 10-02-2011 12:15 PM

I think I didn't explain clearly enough.

I'll change my question:

How can I access localhost while my browser is behind TOR and Privoxy in localhost:8118? (forget .onion adresses)

unSpawn 10-02-2011 01:03 PM

Exclude localhost in your browser?

markmb 10-02-2011 01:28 PM

I tried so, but I wasn't able to omit localhost neither in Privoxy nor Chromium

unSpawn 10-02-2011 03:46 PM

Dunno about Chrome but Privoxys configuration file does show clear examples how to avoid forwarding regular and SOCKS traffic:
Code:

# Here's your conduit into TOR:
forward-socks4a / localhost:8118
# ...and here excluding HTTP on localhost:
forward localhost:80 .


markmb 10-04-2011 11:15 AM

It works now!

I made a mess because I was trying to apply actions into user.action file, and I wasn't able to configure it properly.

Thank you so much!


All times are GMT -5. The time now is 02:57 PM.