title: Block some public/external ip address to connect on internet (from batch file, windows, firewall)
body: <p>I use Windows 7 Ultimate like Os i searching solution for this Os.</p>
  
  <p>I using a vpn connection I need to block some public/external ip address to access on internet (i need a ping failed) but I do not find any solution.</p>
  
  <p>For public/external ip address I mean the ip address assigned from my isp or my vpn service and it is showed in site like www.mioip.it or whoer.net.</p>
  
  <p>With a bat file I can have the public/external ip address but I do not find solution to create a list of ip address not allowed to access on internet and can give failed the ping (because these ip are not allowed to connect on internet).</p>
  
  <p>I need to block some public/external ip address because if the connection internet not works my software change in automatically the ip address and test it by ping site, if ping failed disconnect and reconnect my adsl automatically and assigned a new public/external ip address.</p>
  
  <p>Before reply try to understand what is a public/external ip otherwise you will give invalid answers.</p>
  
  <p>Any suggestion please.</p>