LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-25-2006, 03:35 PM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Rep: Reputation: 30
Angry 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!
 
Old 01-25-2006, 04:36 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Where are you being shown your 192.168. ip?
 
Old 01-26-2006, 09:18 PM   #3
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
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 !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tor and privoxy gabsik Linux - Networking 1 12-26-2005 01:57 PM
Lan gateway with tor and privoxy gabsik Linux - Networking 6 12-24-2005 10:13 AM
tor and privoxy not working, yet all configs seem right theCSapprentice Linux - Software 6 11-02-2005 11:37 AM
Privoxy and tor z3nith Linux - Software 2 10-01-2005 09:31 PM
Tor & Privoxy esage Linux - Software 3 07-25-2005 10:35 PM


All times are GMT -5. The time now is 01:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration