Monday, October 03, 2011

Linksys WRT120N: How to block website?

Scenario:
In this scenario, management wants to block all social networking sites, porn sites and others. Only the 2 laptops used by the management should be able to access all the sites. first, what we did is we set all 30 client computers to static ip addresses (e.g. 192.168.1.1 to 192.168.1.30). Now for the router,
  1. Go to Security - Firewall and then make sure SPI Firewall is enabled.
  2. Enable NAT Filter Redirection.
  3. Go to Access Restrictions - Internet Access 
    • Select Policy Number from the drop-down menu.
    • Enter a Policy Name in the field provided, and select Enabled.
    • click Edit List ( this time, we enter the ip range of the PCs.192.168.1.1 - 30)
    • and then click Save Settings.
    • For Access Restrictions, choose allow.
    • Decide which days and what times you want this policy to be enforced.
    • Enter each URL in a separate Website Blocking by URL Address field, for specific URL addresses
    • Enter each keyword in a separate Website Blocking by keyword field, for blocking website using specific keyword.
    • click Save Settings to save the policy's settings.