[Server-devel] pppd restarting mysteriously

Joshua N Pritikin jpritikin at pobox.com
Fri Jul 24 03:59:08 EDT 2009


On Fri, Jul 24, 2009 at 05:11:32PM +1000, James Cameron wrote:
> 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.

Yah, possible. Also, my testing indicates that the iptables rule can be 
added prior to the interface existing. Food for thought.


More information about the Server-devel mailing list