How would I go about routing something like this?

Zane C. B. zanecb at midwest-connections.com
Mon Oct 17 11:13:35 PDT 2005


Yeah, currently got it setup like that. What I want to do is to route
all traffic out through the secondary machine, for packets originating
from a specific IP#. So the main router routes packets coming in from
some IP#s to the secondary one for filtering. This possible or not
workable?

Been reading and I am not seeing any thing about how this would be
achieved.

On Sat, 15 Oct 2005 10:21:58 +0200
G Bryant <gbryant at roamingsolutions.net> wrote:

> You can either use ipfw fwd command (has to be enabled in the kernel),
> where you forward all lan incoming packets with destination port 80,
to 
> the ip and port that the other proxy is listening on,
> or (more complicated) you can use squid proxy on your local machine,
use 
> ipfw to fwd all lan incoming packets with destination port 80 to the 
> port that squid is listening on (normally 3128), and then you have to 
> specify in the squid config that it must use a different proxy as it's

> "parent" proxy.  You could then either enable caching on this machine,

> or configure it as a "dummy" proxy.
> You will probably have to read all the man pages anyway, so use this
as 
> a starting point.


More information about the freebsd-net mailing list