Byzantium/Byzantium — Issue #31: Control panel: Test for presence of iptables rules before re-applying.
Author: virtadpt
Created: 2011-10-26 13:18:39+00:00
State: open

In Gateways.activate() add a routine that parses the currently installed iptables ruleset to ensure that NAT rules don't exist already. There is no sense in adding and re-adding rules if one set will do. This will also help avoid functional conflicts.

Parse output of `iptables -t nat -n -L | grep MASQUERADE`