[squid-users] different IP address for squid - request-outgoing

2004-03-24 Thread Petre Bandac
hello

I want to have the following configuration, if possible

eth0 - IP1
eth1 - IP2
eth1:1 - IP3 - where squid is listening for requests

I want the requests to be sent forward into Internet via eth0, i.e.

a client connects to squid on eth1:1 - IP3 - squid takes the request via eth0, gets 
the page to be served and serves it finally to the client via eth1:1

am I making any sense ?

thanks, 

petre




Re: [squid-users] squid eth alias

2003-12-18 Thread Petre Bandac
YES, THANK YOU


petre

On Thursday 18 December 2003 09:14 Anno Domini, Henrik Nordstrom wrote using 
one of his keyboards:
 On Thu, 18 Dec 2003, Petre Bandac wrote:
  I make a request, and tcpdump shows the following thing: packets go from
  client to 5.6.7.8:3128, but there they go on the internet via 1.2.3.4 (ie
  I access google.com, and tcpdump shows 2 pieces of the traffic - 1
  host-squid_IP, then address - 1.2.3.4)

 See tcp_outgoing_address

 This makes sense due to Squid being a proxy. When forwarding a request it
 opens a new TCP connection to the requested server and unless you have
 told Squid otherwise it will let the OS choose the most appropriate source
 address to use.

 This is also what most people want.

 Regards
 Henrik

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Thu Dec 11 07:34 (EET) on ttyv0, idle 7 days 2:08 (messages off)
Last login Tue Dec 16 10:39 (EET) on ttyp5 from misu.kgb.ro
No Mail.
No Plan.



[squid-users] squid eth alias

2003-12-17 Thread Petre Bandac
hello

I have the following problem

I have squid running on an alias (eth0:1)

in squid.conf I have explicitely set up the ip and port it should run, 
however, the following thing happens:

eth0 - 1.2.3.4
eth0:1 - 5.6.7.8

both routable addresses

I have squid on port 3128 on 5.6.7.8

I make a request, and tcpdump shows the following thing: packets go from 
client to 5.6.7.8:3128, but there they go on the internet via 1.2.3.4 (ie I 
access google.com, and tcpdump shows 2 pieces of the traffic - 1 
host-squid_IP, then address - 1.2.3.4)

hoping I make any sense (it's 3 AM now), how can I make the requests go via 
the same IP ? (ie client - squid - final address, not client - squid - 
IP_eth0 - address)

thanks,

petre

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Thu Dec 11 07:34 (EET) on ttyv0, idle 6 days 19:28 (messages off)
Last login Tue Dec 16 10:39 (EET) on ttyp5 from misu.kgb.ro
No Mail.
No Plan.