Firewall settings

Home » Support » general support » Details

Overly aggressive or improperly configured firewalls can cause connectivity issues while patching or playing League of Legends. It is important that your internet security software is setup appropriately to allow League of Legends the necessary access. While League of Legends will automatically register with your Windows Firewall software upon installation, many computers ship with antivirus software that contains an additional security firewall, and firewall software often limits sending and receiving capabilities of installed applications by default. You may have to specifically instruct these firewalls to list League of Legends and the League of Legends Launcher as safe applications. For specifics on how to change the firewall settings of your antivirus software, consult your software's manual or help files.

Once you have determined how to instruct your firewall to trust certain applications, add the following programs to the list of trusted programs:

  • lolclient.exe (located in the "Air" subfolder of your LoL directory)
  • League of Legends.exe (located in the "Game" subfolder of your LoL directory)

Alternatively, you can temporarily disable your 3rd party firewall. As a word of caution, however, we cannot recommend this as a long term solution unless you understand and accept the risks of operating your PC without an active firewall.

Issues with Windows Firewall

Although League of Legends will automatically register itself with your Windows Firewall as a safe piece of software upon its installation, there are instances in which you may have to disable your firewall in order to be able to connect to PvP.net. If you are having trouble either patching or logging in during a time when you know that the servers are up, you may wish to try diabling your Windows XP firewall. Below are a list of instructions on how to disable your Windows Firewall on either Windows XP or Windows Vista/Windows 7.

Disabling your Windows Firewall on Windows XP

  1. Click Start
  2. Click Control Panel ( as if control panel is in category view )
  3. Click Security Center
  4. Click Windows Firewall
  5. Click Off
  6. Click Advanced tab
  7. Uncheck your network card
  8. Click Ok
  9. Close the security Center
  10. Ignore the security warning you are now getting
  11. Click Start
  12. Click Run
  13. Type in services.msc
  14. Click Ok or push the Enter key
  15. Scroll down the list and select Windows Firewall
  16. On the top left of the window click Stop
  17. Close all open windows
  18. Run LoL using the shortcut created by the installer

Disabling your Windows Firewall on Windows Vista or Windows 7

  1. Click Start
  2. Click Control Panel ( as if control panel is in category view )
  3. Click System and Security
  4. Click Windows Firewall
  5. Click Advanced Settings
  6. Click Advanced tab
  7. In the Overview section locate and click Windows Firewall Properties
  8. In all 3 tabs (Domain, private, and public profile) do the following
    1. Set Firewall State to Off
    2. Click the Customize button next to Protected Network Connections
    3. Uncheck your network card
    4. Click Ok
    5. Click Ok
  9. Close any windows you opened
  10. Ignore the security warning you may be getting
  11. Click Start
  12. Type in services.msc
  13. Push the Enter key
  14. Scroll down the list and select Windows Firewall
  15. On the top left of the window click Stop
  16. Close all open windows
  17. Run LoL using the shortcut created by the installer

Script to Disable Windows Firewall (Advanced)

  1. Acess your Windows Firewall settings and remove any exceptions relating to lolclient.exe and League of Legends.exe
  2. Close any instances of League of Legends
  3. Set your default browser to Internet Explorer
  4. Create a new simple text document
  5. Copy the text below into the new document:

    App1 = "C:\Program files\Garena Messenger\Apps\lol\air\LolClient.exe"
    App2 = "C:\Program files\Garena Messenger\Apps\lol\game\League of Legends.exe"
    Set objFirewall = CreateObject("HNetCfg.FwMgr")
    Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
    Set objApplication = CreateObject("HNetCfg.FwAuthorizedApplication")
    objApplication.Name = "LolClient.exe"
    objApplication.IPVersion = 2
    objApplication.ProcessImageFileName = App1
    objApplication.RemoteAddresses = "*"
    objApplication.Scope = 0
    objApplication.Enabled = True
    Set colApplications = objPolicy.AuthorizedApplications
    colApplications.Add(objApplication)
    Set objApplication = CreateObject("HNetCfg.FwAuthorizedApplication")
    objApplication.Name = "League of Legends.exe"
    objApplication.IPVersion = 2
    objApplication.ProcessImageFileName = App2
    objApplication.RemoteAddresses = "*"
    objApplication.Scope = 0
    objApplication.Enabled = True
    Set colApplications = objPolicy.AuthorizedApplications
    colApplications.Add(objApplication)
    wscript.echo "Done"

  6. Change the top 2 lines of the code to match your install paths
  7. Click file and select save as
  8. Change the file type from .txt to Any File
  9. Name the file firewall.vbs. Its important that the name end with .vbs or else this will not work
  10. Before you launch the game run the script and then wait 5 seconds. If the script runs correctly you will not get any errors. otherwise it didnt work on your machine.