From owner-freebsd-questions Sat Sep 28 7:15:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 850B937B401 for ; Sat, 28 Sep 2002 07:15:13 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AB5343E3B for ; Sat, 28 Sep 2002 07:15:13 -0700 (PDT) (envelope-from casey76@earthlink.net) Received: from kermit.mail.pas.earthlink.net ([207.217.120.241] helo=kermit.psp.pas.earthlink.net) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17vIN9-000291-00 for freebsd-questions@FreeBSD.ORG; Sat, 28 Sep 2002 07:15:07 -0700 Received: (from nobody@localhost) by kermit.psp.pas.earthlink.net (8.10.2+Sun/8.10.2) id g8SEF7311955 for freebsd-questions@FreeBSD.ORG; Sat, 28 Sep 2002 07:15:07 -0700 (PDT) Date: Sat, 28 Sep 2002 07:15:07 -0700 From: "Casey Scott" To: freebsd-questions@FreeBSD.ORG Reply-To: casey76@earthlink.net Subject: port forwarding with ppp & natd Message-ID: X-Originating-IP: 66.47.186.92 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I have been through all the documentation I can find, and I still haven't found a definitive answer to my question about port forwarding with a ppp connection. I have a DSL that uses PPPOE, so the system is connected using PPP. I need to forward ports from the server to internal systems (natd ips). PPP filters don't seem to be able to port forward, e.g. redirect 192.168.1.5:9090 9090 (natd rule). From what I have seen, it looks like natd can be used to nat a ppp connection. I am currently using the -nat connection with PPP. When I try natd with a -n tun0, the internal client dont have a connection. When I try natd with -n xl0, I get an error about the card can't be used. I understand why I get these errors, so I wondering how to get natd to work with ppp. Or if its even possible to use ppp filters or ipfw to accomplish the goal of forwarding packets from a specific external port to an internal machine. Thanks Casey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message