View previous topic :: View next topic |
Author |
Message |
vom513
Joined: 13 Sep 2018 Posts: 10 Location: Ohio, USA
|
Posted: Thu Sep 13, 2018 6:43 pm Post subject: ip6tables chains don't get created from init.d script |
|
|
Hello,
Apologies if this is documented somewhere already.
I see that there are ip[6]tables* scripts in /etc/miniupnpd/ - which do the analog to their ipv4 counterpart scripts. But in the init.d script - they don't get called.
What I did is to simply "double up":
Code: | IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh
IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh
IP6TABLES_CREATE=/etc/miniupnpd/ip6tables_init.sh
IP6TABLES_REMOVE=/etc/miniupnpd/ip6tables_removeall.sh |
And then everywhere IPTABLES_* is called, also call IP6TABLES_*.
Would it harm anything to go ahead and put this in the script ? I'm trying to think of a downside or gotcha. In other words, even if someone isn't using IPv6 - populating the ip6tables filters shouldn't cause any harm should it ?
Thanks. |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1587
|
Posted: Fri Sep 14, 2018 9:37 am Post subject: |
|
|
I think nobody uses UPnP for IPv6...
but you are perfectly right, that wouldn't do any harm to run the IPv6 init scripts _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
Dosch
Joined: 20 Dec 2018 Posts: 1 Location: Raleigh, NC
|
Posted: Fri Dec 21, 2018 2:14 pm Post subject: |
|
|
Why's that? Is UPnP particularly bad for iPv6? |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1587
|
|
Back to top |
|
 |
|