diff --git a/src/vnm_mad/remotes/lib/command.rb b/src/vnm_mad/remotes/lib/command.rb
index 3ef77d80171..58299e213e5 100644
--- a/src/vnm_mad/remotes/lib/command.rb
+++ b/src/vnm_mad/remotes/lib/command.rb
@@ -45,7 +45,8 @@ module VNMNetwork
 
             iptables_version = Gem::Version.new(stdout.match(regex)[:version])
 
-            if Gem::Version.new('1.6.1') > iptables_version || iptables_version > Gem::Version.new('1.8.7')
+            if iptables_version <= Gem::Version.new('1.6.1') ||
+                  iptables_version > Gem::Version.new('1.8.7')
                 COMMANDS[:iptables]  = 'sudo -n iptables -w 3'
                 COMMANDS[:ip6tables] = 'sudo -n ip6tables -w 3'
             end