Astrill Setup Manual:How to configure any torrent client to work only while Astrill OpenVPN is connected

From Astrill Wiki
Revision as of 09:31, 1 April 2020 by Admin (talk | contribs) (Created page with " == STEP 1 == Open '''"Windows Firewall with Advanced Security"''' via Windows start menu search, or '''execute "%windir%\system32\WF.msc"'''. The window "Windows Firewall w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

STEP 1

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.

File:Utorrent-via-astrill-only-001.jpg


STEP 2

For Rule Type select "Program".

File:Utorrent-via-astrill-only-002.jpg


STEP 3

Browse for uTorrent.exe location, then click on "Next" button.

File:Utorrent-via-astrill-only-003.jpg


STEP 4

For Action select "Block the connection", and then click on "Next" button.

File:Utorrent-via-astrill-only-004.jpg


STEP 5

Click on "Next" button.

File:Utorrent-via-astrill-only-005.jpg


STEP 6

For the name enter "Block uTorrent - Allow only via Astrill VPN" and click on "Finish" button.

File:Utorrent-via-astrill-only-006.jpg


STEP 7

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)

Utorrent-via-astrill-only-007.jpg


STEP 8

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.

Disable-windows-firewall-utorrent-connection.jpg


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.

File:Utorrent-via-astrill-only-008.jpg


STEP 9

Now you can connect to Astrill OpenVPN and uTorrent should start working.

File:Utorrent-via-astrill-only-009.jpg


With these steps, you can configure just about any other programs you would like to work only and only when Astrill VPN is connected.