In pmlist.c in AddPortMapping, there calls to iptables from execv and iptc are inconsistent when compared against each other. One INSERTS a rule into the forwarding chain, and appends a rule into the prerouting chain, while the other appends into forwards, inserts into nat.
Attached is a fixed version of pmlist.c (Lines 247~300 have been somewhat changed)
2009-06-18 03:45:15 UTC in Linux UPnP Internet Gateway Device