Lomas es de Primera ha scritto:
Hey guys:

I am trying to use Squid on my PC (Windows XP) as I lay in a "proxied" LAN. 
However, there is an unrestricted WiFi connection available. However, due to Windows' 
route selection, I can only connect through the WiFi connection by disconnecting from the 
LAN, and therefore, having no access to local servers. Yesterday I installed squid and 
tried to access to both connections by using the following configuration on squid.conf

http_port                                   127.0.0.1:80
icp_port                                    0
cache_mgr                                   Me
visible_hostname                        Me
memory_pools                            on
memory_pools_limit                      32 MB
logformat                                   combined %{Host}>h %>a %ui %un [%tl] "%rm %ru  HTTP/%rv" %Hs 
%<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
logformat                                   vcombined %{Host}>h %>a %ui %un [%tl] "%rm %ru  
HTTP/%rv" %Hs %<st "%{Referer}>h" "
logfile_rotate                          60
vary_ignore_expire                      on
cache_mem                                   256 MB
cache_swap_low                          94
cache_swap_high                         98
maximum_object_size                 1 GB
acl                                         all src all
http_access                             allow all
tcp_outgoing_address    x.x.x.x

Where x.x.x.x is obviously, my WiFi connection IP address. However, this is not 
working at all and I am not seeing something. Could anyone tell me? I keep 
getting socket error and when I disconnect the LAN cable, I am able to use my 
proxy.

Thanks in advance.



I'm no expert, but I'll throw in my 2 cents...

I suspect squid is not binding itself to the wifi interface, so Windows is routing squid outgoing traffic as usual (i.e. through the cable).

HTH

--
Marcello Romani

Reply via email to