How to Change Firewall Settings on Your Router
In this article
To change firewall settings on your router, log in to the router's admin page (usually at 192.168.1.1 or 192.168.0.1), find the Security or Firewall section, and adjust the options there. The exact labels vary by brand and firmware version, but most routers let you enable or disable the firewall, set a security level, and create rules for specific devices or services. This guide walks through the process safely, explains what each setting does, and covers what to do if you get locked out or a change does not behave as expected.
What You'll Need
- Your router's admin username and password (often printed on a sticker on the router, or set during installation).
- A device connected to the router's network — wired is more reliable, but Wi-Fi works if you stay connected.
- The router's IP address or admin URL (check the sticker or the router manufacturer's support page).
- A note of any custom rules or port forwards you already rely on, so you can restore them if needed.
Step-by-Step
- Find your router's admin address. On Windows, open Command Prompt and type
ipconfig; the "Default Gateway" is your router. On a phone, check Wi-Fi settings for the gateway or router address. Common addresses are 192.168.1.1, 192.168.0.1, and 10.0.0.1, but yours may differ. - Open a browser and go to that address. Use http:// rather than https:// unless your router's sticker says otherwise. You should see a login page.
- Log in. If you have never changed the credentials, try the default username and password from the sticker. If you changed them and forgot, you may need to reset the router (see Troubleshooting).
- Locate the firewall or security section. Look for tabs or menu items named Security, Firewall, Advanced Security, or similar. On many routers it sits under Advanced or Advanced Setup. Labels differ slightly by brand, firmware version, and region.
- Review the current firewall status. Most routers have the firewall enabled by default. Note whether it is on or off before changing anything, so you can revert if needed.
- Choose a security level if offered. Some routers present Low, Medium, and High. Higher levels block more traffic but can interfere with online games, video calls, or remote access. Medium is a reasonable starting point for most homes.
- Enable or disable specific protections. Common toggles include SPI (Stateful Packet Inspection) firewall, DoS protection, block ping from WAN, and block fragmented packets. Leave SPI on unless you have a specific reason to turn it off; it is the core of the router firewall.
- Create custom rules only if you need them. If your router supports access rules or service blocking, you can allow or deny traffic by device, port, or service. Add one rule at a time, save, and test before adding another.
- Save or apply the changes. Many routers reboot or briefly drop the connection after saving. Wait for the router to come back before testing.
- Test the result. Browse a few websites, try a video call, and check any device or service you rely on (games, smart home devices, remote desktop). If something breaks, return to the firewall page and undo the last change.
Common Mistakes
- Turning the firewall off entirely to fix one problem. This exposes every device on your network. Prefer a targeted rule or a lower security level instead.
- Changing settings over Wi-Fi and losing the connection mid-save. If the router reboots, you may not be able to reconnect until it finishes. Use a wired connection for big changes.
- Forgetting the admin password. Write it down somewhere safe. A reset wipes all custom settings, including Wi-Fi name and password and any port forwards.
- Adding many rules at once. If something breaks, you will not know which rule caused it. Change one thing, save, test.
- Assuming the firewall blocks all malware. A router firewall filters traffic; it does not replace antivirus or safe browsing habits.
Tips
- Keep the router firmware updated. Security fixes often arrive through firmware updates, and the firewall works best on current software.
- Change the default admin password if you have not already. Anyone on your network who knows the default can change firewall settings.
- Label custom rules clearly if your router allows names. Future you will thank present you.
- If you only need to let one device through, use a port forward or a device-specific rule rather than lowering the whole firewall.
- After any change, note what you changed and when. A simple text file is enough.
Troubleshooting
- You cannot reach the admin page. Check that you are connected to the router's network, try a different browser, and confirm the gateway address. If the page still does not load, restart the router and try again.
- You forgot the admin password. Try the sticker defaults first. If those fail, a factory reset is the usual route — but it erases your Wi-Fi name and password, port forwards, and any custom firewall rules. Back up settings first if your router offers an export option.
- A device or service stopped working after a change. Return to the firewall page and undo the most recent change. If you are unsure which change caused it, set the firewall back to its default level and reapply rules one at a time.
- The router reboots and you lose connection. Wait a minute or two, then reconnect. If the Wi-Fi name disappeared, the reset may have restored defaults; reconnect using the sticker details.
- Changes do not seem to save. Make sure you clicked Save or Apply, not just changed the dropdown. Some routers require a second confirmation or a reboot.
Frequently Asked Questions
Should I turn off my router's firewall?
No, not as a permanent change. The router firewall is your first line of defence for every device on the network. If a specific app or game is blocked, add a targeted rule instead of disabling the firewall.
Will changing firewall settings slow down my internet?
Usually not noticeably. A router firewall inspects traffic but modern routers handle it easily. Very high security levels or many custom rules can add slight overhead, but most users will not feel it.
Can I change firewall settings from my phone?
Yes, if you can reach the router's admin page in a mobile browser and log in. The layout may be cramped, but the settings are the same. A computer is easier for complex rules.
What is the difference between the router firewall and Windows Firewall?
The router firewall filters traffic entering and leaving your home network. Windows Firewall (or the equivalent on macOS) filters traffic on that individual computer. Both can run at the same time; they do not conflict.
Does the firewall block websites?
Some routers include content filtering or parental controls, but that is usually a separate feature from the firewall. The firewall blocks or allows traffic by port, protocol, or device, not by website category unless your router specifically offers that.
Will a firewall change affect my smart home devices?
It can. Smart plugs, cameras, and speakers often need local network access or specific ports. If a device goes offline after a change, check the firewall rules and allow that device or service.