Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 18:11:10 -0800
From:      "Jacob S. Barrett" <jbarrett@amduat.net>
To:        freebsd-ipfw@FreeBSD.ORG
Subject:   Redirecting all outbound traffic to internal website
Message-ID:  <3E34953E.8000405@amduat.net>

next in thread | raw e-mail | index | archive | help
I want to be able to redirect all outbound traffic from a particular 
address range, 10.128.0.0/16, to an internal server 10.1.1.1.  This way 
if they try to browse to www.yahoo.com, or any other site, they really 
just get my website.  In know this can be done.  I have done it once 
before, but now I can't remember how I did it.  I have spent hours 
searching the archives at google with no luck.  I know it is some 
combination of ipfw and natd, but I can't seem to hit the right combination.

I want the destination IP translated to 10.1.1.1 for all ip traffic from 
10.128.0.0/16.

Any clues?

-- 
Jacob S. Barrett
jbarrett@amduat.net
www.amduat.net

"I don't suffer from insanity, I enjoy every minute of it."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E34953E.8000405>