From owner-freebsd-questions@FreeBSD.ORG Thu May 17 20:54:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D05E16A400 for ; Thu, 17 May 2007 20:54:25 +0000 (UTC) (envelope-from jbronson@sixcompanies.com) Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by mx1.freebsd.org (Postfix) with ESMTP id 54AB713C447 for ; Thu, 17 May 2007 20:54:25 +0000 (UTC) (envelope-from jbronson@sixcompanies.com) Received: from [65.43.82.170] (helo=cheyenne.sixcompanies.com) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HomzQ-000Dqe-FJ for freebsd-questions@freebsd.org; Thu, 17 May 2007 16:54:24 -0400 Received: from coors.sixcompanies.com (coors.sixcompanies.com [10.43.82.5]) by cheyenne.sixcompanies.com (8.14.1+Sun/8.14.1) with ESMTP id l4HKsNtU000521 for ; Thu, 17 May 2007 15:54:23 -0500 (CDT) X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 65.43.82.170 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+6m2YMZ9mVBH65GF3r+mEcwzCc5S+Oy/8= Message-Id: <200705172054.l4HKsNtU000521@cheyenne.sixcompanies.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 17 May 2007 15:54:19 -0500 To: freebsd-questions@freebsd.org From: JD Bronson Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: pppoe (userland PPP) and nat 'loopback' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 20:54:25 -0000 Can this be configured? What I need is a way to go from one LAN machine to the WAN and loopback to the other LAN machine. LAN->WAN->LAN simple pf.conf: binat on $bge1 from 192.168.82.170 to any -> 67.x.x.1 binat on $bge1 from 192.168.82.171 to any -> 67.x.x.2 binat on $bge1 from 192.168.82.172 to any -> 67.x.x.3 binat on $bge1 from 192.168.82.173 to any -> 67.x.x.4 and so on. I need to use 192.168.82.172 to go and connect to public 67.x.x.2 then loop back to 67.x.x.1 Why do I need this? - I run 2 external DNS servers (with views) and as such NS2 needs to talk to NS1 but using the WAN NAT loopbacks. thanks in advance for any tips. -JD