虚拟一个WAN口
Run ncpa.cpl
Right-Click on your network adapter -> Properties
Select IPv4 (TCP/IPV4) -> Properties
Set your LAN address in static mode (with mask, gateway and DNS)
Click on Advanced button
Click on the add button bellow ip address
Type some public ip address (like 194.12.12.2) - That real address will be no longer reachable.
Mask: 255.255.255.255
You must have ONE gateway (LAN)
Change every localhost entry for your new fake WAN ip address
In our case 127.0.0.1 becomes 194.12.12.2
You have to change it in the python script arg and eventually in your host file.