Dec 1, 2014 11:49 AM
(This post was last modified: Dec 2, 2014 07:46 AM by Eilif.)
This tutorial will make your skype ignore some of the exploits used by public skype resolvers, and thus making the voice application more secure to use without having fear your IP-Adress being booted down.
Be aware that using these settings will slightly slow Skype down. If you have a sufficient internet connection, you will not have any issues with these settings.
Before starting: Exit Skype
1. Open a notepad or a text editor of your choice
2. Save the code bellow as "skypepatch.vbs" for example. Any name will do as long as the ending is .vbs
3. Run the script by double clicking .vbs file
4. Start up skype and go to settings.
5. Navigate to "Advanced" -> "Connection" and set the following rules correctly as shown in the picture. Make sure connection type is "SOCKS5".
![[Image: u1XGkF8.png]](https://i.imgur.com/u1XGkF8.png)
6. Restart skype after saving in above window.
7. Go back to settings and Navigate to "Calls" -> "Call settings" and tick "Allow only calls from my contact list" -> This is because some resolvers actually call you for few seconds before hanging up to grab your IP-Adress. And it should be quite obvious that you dont want a call from "Bob" that is not your contact at the midnight without any warnings.
8. Go to "Privacy" settings and ensure that "Allow calls..." is set to "Only from Contacts". Same with "Screen sharing and recieving video calls" -> Set to "Contacts only".
9. Go to "General" settings and under "video calls", set "Screen sharing and recieving video calls" to "Contacts only".
9. Restart skype again.
10. Double check all options and ensure your skype is able to stay online. You are now done configuring your skype.
F.A.Q
Be aware that using these settings will slightly slow Skype down. If you have a sufficient internet connection, you will not have any issues with these settings.
Before starting: Exit Skype
1. Open a notepad or a text editor of your choice
2. Save the code bellow as "skypepatch.vbs" for example. Any name will do as long as the ending is .vbs
Code
Set objShell = WScript.CreateObject("WScript.Shell")
ss= objShell.RegRead ("HKEY_CURRENT_USER\Software\Skype\Phone\SkypePath")
ss= """" + ss + """"
'Add Block rule
objShell.run "netsh advfirewall firewall add rule name=""SkypeBlockTCP"" dir=out action=block program=" + ss + " enable=yes protocol=any profile=any"
'Add Allow rule
objShell.run "netsh advfirewall firewall add rule name=""SkypeAllowToProxy"" dir=out action=allow program=" + ss + " enable=yes remoteip=127.0.0.1"
'Turn On firewall
objShell.run "Netsh advfirewall set allprofiles state on"
msgbox "Skype Is Patched Successfully."3. Run the script by double clicking .vbs file
4. Start up skype and go to settings.
5. Navigate to "Advanced" -> "Connection" and set the following rules correctly as shown in the picture. Make sure connection type is "SOCKS5".
![[Image: u1XGkF8.png]](https://i.imgur.com/u1XGkF8.png)
6. Restart skype after saving in above window.
7. Go back to settings and Navigate to "Calls" -> "Call settings" and tick "Allow only calls from my contact list" -> This is because some resolvers actually call you for few seconds before hanging up to grab your IP-Adress. And it should be quite obvious that you dont want a call from "Bob" that is not your contact at the midnight without any warnings.
8. Go to "Privacy" settings and ensure that "Allow calls..." is set to "Only from Contacts". Same with "Screen sharing and recieving video calls" -> Set to "Contacts only".
9. Go to "General" settings and under "video calls", set "Screen sharing and recieving video calls" to "Contacts only".
9. Restart skype again.
10. Double check all options and ensure your skype is able to stay online. You are now done configuring your skype.
F.A.Q
Quote:Q: Error: "You need higher elevation privileges".
A: There are multiple solutions for this:
Solution 1: Login as admin account or user profile with administrator rights.
Solution 2: Open CMD as admin and run the .vbs file via it
Solution 3: Disable UAC and try again, then re-activate it afterwards if needed.
Solution 4: Use the alternative script: here
Quote:Q: How do i remove/uninstall this?
A: Save and run the .vbs script bellow and reset your skype settings after it.
CodeSet objShell = WScript.CreateObject("WScript.Shell")
objShell.run "netsh advfirewall firewall delete rule name=""SkypeBlockTCP"""
objShell.run "netsh advfirewall firewall delete rule name=""SkypeAllowToProxy"""
msgbox "Skype rules removed"
Quote:Q: I just resolved my skype name and it shows my IP-Adress!
A: If your settings are correct, that would be a cached data of your last seen ip-adress. Meaning, the resolver pulled old data since it couldn't retrieve your latest IP-Adress.
Quote:Q: I have waited over 5 minutes now and im not getting any connections! (My skype is Offline and ive double checked everything).
A: This is a workaround method: Navigate to "Advanced" -> "Connection" and enable "UPnP", change connection to "HTTPS" from "SOCKS5", and change port to "40031" and set "Incoming connections port" to "32535". and Save
Quote:Q: Everything failed! Skype is not working anymore
A: Wow.. you really blew it. Use the uninstall script (.vbs) in above quote and navigate to: "Privacy Settings" and "Reset defaults" on bottom right of the window. Save settings and restart skype.


![[Image: DTc14yu.png]](https://i.imgur.com/DTc14yu.png)


![[Image: 3f86f13104.gif]](https://puu.sh/F2XnG/3f86f13104.gif)

