From owner-freebsd-questions Mon Apr 16 8:50: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.well.com (smtp.well.com [208.178.101.27]) by hub.freebsd.org (Postfix) with ESMTP id 4A0F737B43C for ; Mon, 16 Apr 2001 08:50:03 -0700 (PDT) (envelope-from howardjp@well.com) Received: from well.com (howardjp@well.com [208.178.101.2]) by smtp.well.com (8.8.5/8.8.4) with ESMTP id IAA23619 for ; Mon, 16 Apr 2001 08:50:03 -0700 (PDT) Received: from localhost (howardjp@localhost) by well.com (8.8.5/8.8.5) with ESMTP id IAA22887 for ; Mon, 16 Apr 2001 08:50:01 -0700 (PDT) Date: Mon, 16 Apr 2001 08:50:01 -0700 (PDT) From: James Howard To: freebsd-questions@freebsd.org Subject: NAT with FreeBSD Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to set up a FreeBSD NAT firewall. The external interface (fxp0) has an IP address of 172.25.21.20 (don't ask). The internal (sis0) is 10.1.1.1. I have a PC behind it that is 10.1.1.10. The NAT and all that works fine with these rules: 00100 328030 140010702 divert 8668 ip from any to any via fxp0 00200 578062 181527330 allow ip from any to any 65535 534 67432 deny ip from any to any Now here is the trick. I want 172.25.21.21:25 to magically appear on 10.1.1.10:25. All the documentation I have seen on this says I should have the firewall listening to 172.25.21.21:25 and proxy through, but this changes the source address on the final receiver. But I know this can be done without modifiying the source address since I have done this with Netscreens. But I do not know how with FreeBSD. Can someone whack me with a clue stick? Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message