View previous topic :: View next topic |
Author |
Message |
divined Apprentice
Joined: 23 Jul 2004 Posts: 165
|
Posted: Thu Feb 02, 2012 6:50 am Post subject: miniupnp wiki for gentoo |
|
|
Morning everybody
I`d been using for several years the linux-igd upnpd. Recently, i got a warning from portage that it has been deprecated.
So I got rid of it and installed the miniupnpd. Unfortunately, I don`t seem to be able to start it.
Code: |
/etc/init.d/miniupnpd start
* Use of the opts variable is deprecated and will be
* removed in the future.
* Please use extra_commands, extra_started_commands or extra_stopped_commands.
* Not starting iptables. First create some rules then run:
* /etc/init.d/iptables save
* ERROR: iptables failed to start
* ERROR: cannot start miniupnpd as iptables would not start
|
Is there any wiki I can use, to get me started. I googled it but found nothing gentoo specific. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Thu Feb 02, 2012 8:15 am Post subject: |
|
|
miniupnpd seems to require iptables, which has not been setup.
assuming, that you do no want any iptables (firewall) running on that system, could try /etc/init.d/iptables save && /etc/init.d/iptables start?
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
divined Apprentice
Joined: 23 Jul 2004 Posts: 165
|
Posted: Fri Feb 03, 2012 5:50 am Post subject: |
|
|
Nonetheless, i`m running shorewall & shorewall6 which if i`m correct, is just a frontend for iptables. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Feb 03, 2012 2:43 pm Post subject: |
|
|
nyes. shorewall is a frontend to netfilter (or even iptables).
but miniupnpd explicitly wants iptables.
Code: | #!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/files/miniupnpd-init.d,v 1.3 2011/10/17 12:03:01 gurligebis Exp $
depend() {
need net iptables
use minissdpd
}
... |
maybe you can try to replace iptables with firewall in the miniupnpd init-script, to force it to use any firewall (or at least shorewall). If it works, you could file a bug against it.
just some idea
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
divined Apprentice
Joined: 23 Jul 2004 Posts: 165
|
Posted: Sat Feb 04, 2012 10:17 am Post subject: |
|
|
ok. I got it working by changing the init script to firewall, as you suggested.
Code: |
depend() {
need net firewall
use minissdpd
}
|
Works fine now. Seems some sort of bug for me. |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Tue Feb 07, 2012 1:30 pm Post subject: |
|
|
divined wrote: | ok. I got it working by changing the init script to firewall, as you suggested.
Code: |
depend() {
need net firewall
use minissdpd
}
|
Works fine now. Seems some sort of bug for me. | So you wrote a bugreport did you? |
|
Back to top |
|
|
|