From owner-freebsd-questions Sat Nov 25 6:25:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.flashnet.it (ems.flashnet.it [194.247.160.44]) by hub.freebsd.org (Postfix) with ESMTP id 5030337B4CF for ; Sat, 25 Nov 2000 06:25:53 -0800 (PST) Received: from smtp.flashnet.it (ip046.pool-173.cyb.it [195.191.181.47]) by relay.flashnet.it (EMS-RELAY/8.10.0) with SMTP id eAPEPoi24519 for ; Sat, 25 Nov 2000 15:25:50 +0100 Message-Id: <200011251425.eAPEPoi24519@relay.flashnet.it> To: freebsd-questions@freebsd.org X-Mailer: Post Road Mailer for OS/2 (Green Edition Ver 3.0) Date: Sat, 25 Nov 2000 16:25:42 EST From: Andrea Venturoli Reply-To: Andrea Venturoli Subject: ppp filters Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. I'd like to have ppp work in auto mode; however I'd like to control exactly when it should dial-up or hang, so I put the following in /etc/ppp/ppp.conf: set filter dial 0 permit udp dst eq 8081 set filter alive 0 permit udp dst eq 8081 set filter out 0 deny udp dst eq 8081 set filter out 1 permit 0 0 set timeout 30 set mode auto Then I wrote a small program that sends every 10 seconds an UDP packet to port 8081 to an host outside my network. When I start up this program ppp dials (as I expect), however blocking the packet with the "out" filter prevents it from keeping the connection alive. Is there a way to correct whis? Bye & Thanks av. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message