Still not DRY ;)

DRY would be a function with :
```
for i,port in enumerate (firewall['ipv6']['UDP']):
  os.system ("ip6tables -A INPUT -p udp -i eth0 --dport "+ str(port) +" -j ACCEPT")
  if upnp:
    upnp.addportmapping(port,protocol,upnp.lanaddr,port,'yunohost firewall : port %u' % port, '')
```