Search squid archive

Re: Rv: Re: squid on windows xp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Jul 2010 08:15:50 -0700 (PDT), Lomas es de Primera
<soymilrayita@xxxxxxxxxxxxxxxxxxxxx> wrote:
> However, ping to the x.x.x.x is successful. Is there any other way I can
> correct this?

Not easily. It involves finding a fix for the route selection.

The problem is that squid can bind to the x.x.x.x as its outgoing IP but
it still runs through the OS route selection to send packets. This fixes
the bad selection of outgoing IP, but actual routing choices of what
interfaces are available/running cannot be fixed by Squid.

Amos

> 
>> 2010/7/28 Marcello Romani <mromani@xxxxxxxxxxxxxxx>:
>> > 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
>> >
>> 
>> 
>> 
>> 
>> 
>>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux