title: Port Forwarding by Using “HNetCfg.NATUPnP” Ole Object Failed - It was working before
body: <p>I read the following question:
  <a href="https://stackoverflow.com/questions/12805067/port-forwarding-by-using-hnetcfg-natupnp-ole-object-failed">Port Forwarding by Using &quot;HNetCfg.NATUPnP&quot; Ole Object Failed</a></p>
  
  <p>Used that example and worked successfully on windows xp sp3. Delphi Xe2. I could route and external port to my pc and worked just fine in everything.</p>
  
  <p>After some days of work, this code stopped working:</p>
  
  <p>Ports := Nat.StaticPortMappingCollection;</p>
  
  <p>Ports is now getting NIL.</p>
  
  <p>In the same network, the same code works in a windows 7. I do not have other windows xp for testing. </p>
  
  <p>Seems that something changed, and seems to be in the environment. My windows xp is a virtual box session. The host is a windows 7 were the same code is still working. I have not noticed any change on virtual box params, no software update. </p>
  
  <p>I am looking for guidance where to look for.</p>