From owner-freebsd-ipfw Sun Jan 26 18:12:30 2003 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42BED37B401 for ; Sun, 26 Jan 2003 18:12:29 -0800 (PST) Received: from aker.amduat.net (aker.amduat.net [206.124.149.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C69343EB2 for ; Sun, 26 Jan 2003 18:12:28 -0800 (PST) (envelope-from jbarrett@amduat.net) Received: from amduat.net (nat1.pogozone.net [216.57.201.115]) (authenticated bits=0) by aker.amduat.net (8.12.6/8.12.6) with ESMTP id h0R2CLWw057243 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sun, 26 Jan 2003 18:12:22 -0800 (PST) (envelope-from jbarrett@amduat.net) Message-ID: <3E34953E.8000405@amduat.net> Date: Sun, 26 Jan 2003 18:11:10 -0800 From: "Jacob S. Barrett" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ipfw@FreeBSD.ORG Subject: Redirecting all outbound traffic to internal website Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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