[Server-devel] pppd restarting mysteriously

James Cameron quozl at laptop.org
Fri Jul 24 03:11:32 EDT 2009


On Fri, Jul 24, 2009 at 12:00:49PM +0530, Joshua N Pritikin wrote:
> The question is, what to change in /etc to make the change permanent?

For Fedora, I don't yet know.  For Debian and Ubuntu, the usual method
is a tiny script added to /etc/ppp/ip-up.d that adds the iptables rule
as soon as the connection is made.  Another script in /etc/ppp/ip-down.d
can remove it, if the connection is only occasional.  pppd can call a
script or set of scripts on connection.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Server-devel mailing list