From owner-freebsd-questions Sun Oct 25 19:30:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA18728 for freebsd-questions-outgoing; Sun, 25 Oct 1998 19:30:32 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dania.dialisdn.com (dania.dialisdn.com [209.4.65.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18710 for ; Sun, 25 Oct 1998 19:30:28 -0800 (PST) (envelope-from cdlevin@dania.dialisdn.com) Received: (from cdlevin@localhost) by dania.dialisdn.com (8.9.1/8.9.1) id VAA01402; Sun, 25 Oct 1998 21:56:25 -0500 (EST) (envelope-from cdlevin) Date: Sun, 25 Oct 1998 21:56:25 -0500 (EST) Message-Id: <199810260256.VAA01402@dania.dialisdn.com> To: freebsd-questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-URL: http://www.freebsd.org/mailto.html X-Mailer: Lynx, Version 2.8rel.2 X-Personal_name: Curtis D. Levin From: kd4zkw@amsat.org Subject: ppp -auto and filtering local Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. I just installed 3.0 and I love it. It's really nice, and the elf system will help it immensely. I also run Slackware Linux 2.0.34 with the ax25 kernel. Here's what I'm trying to do. Support demand dialing for the ax25 users for internet access. Allow the linux box to use tcpip apps, and connect to the Inet. Support demand dialing of the FreeBSD box. and stop the darn thing from dialing out if the telnet connection is only for the lan. I am using these addresses. 10.0.0.1 for the linux box. 10.0.0.2 for the FreeBSD box. 44.98.2.22 for the linux box from outside. 209.4.65.28 for the FreeBSD box to the net. When I telnet to 10.0.0.1 from 10.0.0.2, it has to wait to complete a dial before it'll let me log in across my lan. Same is true conversely. I would like it to be able to recognise the difference between the requests for lan access, and network access. Here is my ppp.conf file. alias port 10.0.0.1:ftp ftp alias port 10.0.0.1:http http alias port 10.0.0.1:telnet telnet alias port 10.0.0.1:ping ping alias port 10.0.0.1:finger finger alias port 10.0.0.1:traceroute traceroute set filter alive 0 deny icmp set filter alive 1 deny udp src eq 53 set filter alive 2 deny udp dst eq 53 set filter alive 3 permit 0 0 set filter dial 0 deny icmp set filter dial 1 permit 0 0 set filter dial 4 deny 0 0 tcp syn finrst IS there something I can do to get it to understand what I want it to do ? Any help on this is appreciated. I'm stumped. Curtis D. Levin cdlevin@dialisdn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message