Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 15:00:44 +0200 (SAST)
From:      Mark Bojara <mark@mics.co.za>
To:        freebsd-isp@FreeBSD.ORG
Subject:   squid outgoing_address problem
Message-ID:  <20030515145731.D13729-100000@opium.co.za>

next in thread | raw e-mail | index | archive | help
Hello All,

I am doing a little load balancing with a secondary line but my routing
does not seem to work properly. Basically when I access a site on
196.34.165.0/24 it goes via 10.0.0.2 for some of the requests and the
others (.jpg's and other files) it gets via 196.34.165.180. For this
certain range I only want it to go via 196.34.165.180.

Any help appreciated :-)

Regards
Mark Bojara
MICS Online - 012-661-9999

acl mics1 dst 196.34.165.0/255.255.255.0
acl mics2 dst 196.23.168.0/255.255.255.0
acl firewall src 196.34.165.234


tcp_outgoing_address 196.34.165.180 mics1 mics2
udp_outgoing_address 196.34.165.180 mics1 mics2

udp_outgoing_address 10.0.0.3 firewall
tcp_outgoing_address 10.0.0.3 firewall

tcp_outgoing_address 10.0.0.2
udp_outgoing_address 10.0.0.2


----------------------------------------------------------------
"Keyboard? How quaint!" - Scotty
----------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515145731.D13729-100000>