def disable_nat(interface):
 while (not run(settings.iptables, '-t', 'nat', '-D', 'POSTROUTING', '-o', interface, '-j', 'MASQUERADE')[1]):
  pass

def disable_nat ( interface ) : while ( not run ( settings . iptables , '-t' , 'nat' , '-D' , 'POSTROUTING' , '-o' , interface , '-j' , 'MASQUERADE' ) [ 1 ] ) : pass
disable nat on this interface .