From d6b641b000d64b1a734b48445108954ebf31a656 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 14 Sep 2009 14:14:20 -0700 Subject: [PATCH] Add FAQ 86 --- docs/FAQ.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/FAQ.xml b/docs/FAQ.xml index 363d2ccf8..264d8c15b 100644 --- a/docs/FAQ.xml +++ b/docs/FAQ.xml @@ -1990,6 +1990,35 @@ iptables: Invalid argument /etc/shorewall/shorewall.conf. + +
+ (FAQ 86) My distribution (Ubuntu) uses NetworkManager to manage + my interfaces. I want to specify the upnpclient option for my interfaces + which requires them to be up and configured when Shorewall starts but + Shorewall is being started before NetworkManager. + + Answer: I faced a similar problem which I solved as + follows: + + + + Don't start Shorewall at boot time (Debian and Ubuntu users + may simply set startup=0 in + /etc/default/shorewall). + + + + In /etc/network/ip-up.d, I added a + shorewall script as follows: + + #!/bin/sh + +shorewall status > /dev/null 2>&1 || shorewall start # Start Shorewall if it isn't already running + + Be sure to secure the script for execute access. + + +