LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Privoxy Squid Tor (https://www.linuxquestions.org/questions/linux-networking-3/privoxy-squid-tor-407937/)

gabsik 01-25-2006 03:35 PM

Privoxy Squid Tor
 
I've configured squid to work with tor and privoxy but when i go to ceck my ip it shows my lan ip 192.168.1.4.Squid has the following directives set:
port 3128
cache_access_log none
cache_log /dev/null
cache_store_log none
log_ip_on_direct off
hosts_file /etc/hosts
http_access allow manager localhost
http_access deny manager
# Only allow purge requests from localhost
http_access allow purge localhost
http_access deny purge
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
acl mylan src 192.168.1.0/24
http_access allow mylan
# And finally deny all other access to this proxy
http_access deny all
http_reply_access allow all
cache_peer 127.0.0.1 parent 8118 7 no-query
always_direct deny all
#'http_anonymizer standard' option, you should use:
header_access From deny all
header_access Referer deny all
header_access Server deny all
header_access User-Agent deny all
header_access WWW-Authenticate deny all
header_access Link deny all
#Default:
All deny all

On the other hand Privoxy is configured to work with tor and squid this way:
forward-socks4a / localhost:9050 .
forward / 127.0.0.1:3128
Squid and Privoxy both stay on the lan's gateway machine and each machine has his own tor.
Thanks!!!
G!

Matir 01-25-2006 04:36 PM

Where are you being shown your 192.168. ip?

gabsik 01-26-2006 09:18 PM

Privoxy Squid Tor
 
On whatismyip.org.It works fine now if i don't forward locally to squid too.But it's necessary to use squid caching too !:D


All times are GMT -5. The time now is 10:08 PM.