I have a configuration at home that needs quite a bit of help:
I have two ppp interfaces, one is my dad's account, one is mine. He wants
to be able to connect 'his' modem to 'his' line and browse from his computer.
However, I would like to be able to browse from my systems (localhost and
omicron from squid's perspective), through the same cache (for space and
performance reasons), but have the traffic go over my interface, while his
travels over 'his' interface.
Is it possible for squid to support a tcp_outgoing_addr *based* on the client
IP? If so, I could simply say:
# shell variables used for clarity, not actual config
PPPIF1=205.238.13.99 # reconfig'd for each connect of my modem
PPPIF2=205.238.15.37 # reconfig'd for each connect of dad's modem
ROUTER=10.1.1.1 # the machine running squid, plus my Xterminal
PHREDD=10.1.1.2 # my dad's PC
OMICRON=10.1.1.3 # my laptop
tcp_route $PPPIF1 $ROUTER $PHREDD
tcp_route $PPPIF2 $OMICRON
This way I can make sure that traffic will go from my browsers through my
account, and my dad's traffic will go through his account.
Please reply via e-mail since I am not on the squid-users list (that'd be
another dozen or two message a day on top of my ~150/day...)
TIA,
Omega
Erik Walthinsen - Programmer, webmaster, 3D artist, etc. __
__ / /\
/ \ omega@sequent.com Work: (503)578-5314 / / \
| | M E G A omega@aracnet.com Home: (503)281-4281 / / /\ \
_\ /_ psu12113@odin.cc.pdx.edu Majoring in CS / / /\ \ \
/ /_/__\ \ \
Omega Station: http://www.aracnet.com/~omega/ /________\ \ \
Info on Linux, Graphics, Descent, Laptops, etc. \___________\/
Received on Mon Jul 14 1997 - 19:39:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:45 MST