A command line application set up a rule to forward local port 8080 traffic to a VM's port 80. Something went wrong and left this definition. How can I find and remove this port forwarding rule?
If it only modify the in memory rules, the laziest way is to reboot. If you want to remove the rule(s) without reboot, do following (assuming the program did not modify rule file)
That will reset+reload the default system rules. Thus removing the port forwarding rule(s).
If the program modified the rule files, check following
After modifying, do following