From owner-freebsd-questions Thu Jun 28 17:17:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.plug.cx (unix-gw.gihs.sa.edu.au [203.63.40.115]) by hub.freebsd.org (Postfix) with ESMTP id EA83137B407 for ; Thu, 28 Jun 2001 17:17:25 -0700 (PDT) (envelope-from andrew.reid@plug.cx) Received: from popadl-06-045.picknowl.com.au (firewall.gihs.sa.edu.au [192.168.1.1]) by mail.plug.cx (Postfix) with ESMTP id F050C2B7E5 for ; Fri, 29 Jun 2001 10:05:09 +0000 (GMT) Subject: Dialin Firewall Problem From: Andrew Reid To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.10.99 (Preview Release) Date: 29 Jun 2001 09:38:21 +0930 Message-Id: <993773303.11251.0.camel@percible.alfred.cx> Mime-Version: 1.0 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 Hello All, I recently changed my work dialin line to a FreeBSD box. I've used mgetty and user-PPP and it's all working well (accepting and creating the connection). I'm having trouble getting packets through from my end and the server. The IP on the server end of the tun0 device is 192.168.5.1 and the local machine is 192.168.5.2 Once I've dialed up, I can't ping the other end. I think it's a firewalling thing that I seem to have broken. Mgetty calls a shell script (which calls ppp) through AutoPPP: #!/bin/sh exec /usr/sbin/ppp -direct pap$IDENT Now, what should I be doing to get the server doing NAT for data that I send? I want to be able to access the network (to which the sever is connected). It's an out-of-the-box FreeBSD 4.3 machine. I've not recompiled the kernel. Can anyone offer any suggestions? I'm having to use my overtly expensive ISP to send this mail. It costs a fair bit for a day's usage :-( - andrew -- void signature () { cout << "Andrew Reid -- andrew.reid@plug.cx" << endl ; cout << "Cell: +61 401 946 813" << endl; cout << "Quidquid latine dictum sit, altum viditur" << endl; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message