saschpe / libvirt-hook-qemu

Libvirt hook for setting up iptables port-forwarding rules when using NAT-ed networking.
236 stars 69 forks source link

Allow single port integer instead of port pairs? #4

Closed bronson closed 8 years ago

bronson commented 8 years ago

If internal and external ports match, it would be nice to write:

        "tcp": [25, 53, 80],

instead of the current:

        "tcp": [[25, 25],
                [53, 53],
                [80, 80]],

(wishlist)