diff --git a/lib/blockchain.js b/lib/blockchain.js index 45b748ae..1a986df0 100644 --- a/lib/blockchain.js +++ b/lib/blockchain.js @@ -80,6 +80,10 @@ Blockchain.prototype.run_command = function(address, use_tmp) { if (address !== void 0) { cmd += "--unlock " + address + " "; } + + if (config.nat !== "any"){ + cmd += "--nat \"" + config.nat "\""; + } if (config.bootNodes.boot == true){ cmd += "--bootnodes \"";