Astrill Setup Manual:How to configure any torrent client to work only while Astrill OpenVPN is connected
Open "Windows Firewall with Advanced Security" via Windows start menu search, or execute "%windir%\system32\WF.msc". The window "Windows Firewall with Advanced Security" will appear, select "Outbound Rules" from the list on the left hand side, and Click on "New Rule…" on the right hand side under Actions.
For Rule Type select "Program".
Browse for uTorrent.exe location, then click on "Next" button.
For Action select "Block the connection", and then click on "Next" button.
Click on "Next" button.
For the name enter "Block uTorrent - Allow only via Astrill VPN" and click on "Finish" button.
To configure the rule in Windows Firewall, double click on "Block uTorrent - Allow only via Astrill VPN" rule and then click the "Scope" tab. Under Local IP address section select These IP addresses option, click "Add" button, then click on "This IP address range" option, and enter IP Range From below. Once done click "Apply". Now you are ready to test.
From: 0.0.0.1 - To: 127.0.0.0 From: 127.0.0.2 - To: 198.18.0.0 From: 198.19.0.0 - To: 255.255.255.255
This firewall rules will allow traffic to pass from the follow IPs:
0.0.0.0 (used by uTorrent program) 127.0.0.1 (used by uTorrent program) 198.18.0.0/24 (used by Astrill OpenVPN/StealthVPN)
Make sure you Un-tick Add Windows Firewall exception option under uTorrent connection settings. Also make sure you delete any Inbound Windows Firewall rules generated by uTorrent program.
Now that you have created the firewall rule, you can test uTorrent and no traffic should pass. Your uTorrent window should be similar to one below.
Now you can connect to Astrill OpenVPN and uTorrent should start working.
With these steps, you can configure just about any other programs you would like to work only and only when Astrill VPN is connected.