inconsisten iptables calling
Status: Beta
Brought to you by:
krazydime
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)
Fixed Version of pmlist.c