Search squid archive

Re: transparent integration with proxy on router

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

 



On Mon, 28 Sep 2009 16:21:16 +1300, Todd Nine <todd@xxxxxxxxxxxxxxxxxx>
wrote:
> Hi all,
>   I'm using squid on a pfSense router we've built.  We have 2 
> connections, one we pay for usage (DSL) and one we do not (Wireless).  
> We use Amazon S3 extensively at work.  We've been attempting to route 
> all traffic over the wireless via an IP range, but as S3 can change IPs, 
> this doesn't work and we end up with a large bill for our DSL.  Is it 
> possible to have squid route connections via a specific interface if a 
> hostname such as "amazonaws.com" is in the HTTP request header?
> 
> Thanks,
> Todd

Yes you can.

Find an IP assigned to the interface you want traffic to go out. Use the
tcp_outgoing_addr directive and ACLs that match the requests to make sure
all the requests to that domain are assigned that outgoing address.  Then
make sure the OS sends traffic from that IP out the right interface.

Amos

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

  Powered by Linux