Fixed wan iface masquerading rule, it now utilizes the $wan_iface variable