Date: Fri, 7 May 1999 00:28:06 +0400 (MSD) From: Danil Shebunin <daktaklakpak@public.mtu.ru> To: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Kernel PPP (PPPD): ip-up & ip-down scripts execution Message-ID: <Pine.BSF.4.05.9905070024540.1239-100000@free-bsd.space> In-Reply-To: <Pine.BSF.4.05.9905062352130.1050-100000@free-bsd.space>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! We have a small net and using FreeBSD 2.2.8 machine as Internet gate. To dial a provider we use kernel PPP - PPPD. I need to setup a firewall after connection established. For this purpose I use file /etc/ppp/ip-up, as described in man page, to setup firewall using ipfw. But it seems, that this script is called with effective uid of current user, not root ,as described in man! I decide that, because the script is executed (I've placed simple 'echo executed > /exec.txt' in this script to check this). But all ipfw commands is not executed - firewall settings remain unchanged. What I'm doing wrong? How can I force ip-up and ip-down scripts to execute correctly? P.S. PLEASE! PLEASE! PLEASE! Reply to my e-mail - I'm not subscribed to these mail-lists -- ===---===---===---===---===---=== Have a nice CONNECT! Dan (daktaklakpak@public.mtu.ru) ===---===---===---===---===---=== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905070024540.1239-100000>