block web browsing with ipsec

Upload: have-a-nice-day-111411

Post on 04-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Block Web Browsing With IPSec

    1/28

    Block Web Browsing with IPSec

    To configure a single computer follow these steps

    Configuring IP Filter Lists and Filter actions

    1. Open an MMC window (Start > Run > MMC).

    2. Add the IP Security and Policy Management Snap-In.

  • 7/30/2019 Block Web Browsing With IPSec

    2/28

  • 7/30/2019 Block Web Browsing With IPSec

    3/28

    3. In the Select which computer this policy will manage window select the local computer (or any other policy depending upon your needs). Click Close then click Ok.

  • 7/30/2019 Block Web Browsing With IPSec

    4/28

    4. Right-click IP Security Policies in the left pane of the MMC console. Select Manage IP Filter Lists and Filter Actions.

  • 7/30/2019 Block Web Browsing With IPSec

    5/28

    5. In the Manage IP Filter Lists and Filter actions click Add.

  • 7/30/2019 Block Web Browsing With IPSec

    6/28

    6. In the IP Filter List window type a descriptive name (such as HTTP, HTTPS) and click Add to add the new filters.

  • 7/30/2019 Block Web Browsing With IPSec

    7/28

    7. In the Welcome window click Next.

    8. In the description box type a description if you want and click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    8/28

  • 7/30/2019 Block Web Browsing With IPSec

    9/28

    10. In the IP Traffic Destination window leave Any IP Address selected and click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    10/28

    11. In the IP Protocol Type scroll to TCP and press Next.

  • 7/30/2019 Block Web Browsing With IPSec

    11/28

    12. In the IP Protocol Port type 80 (for HTTP) in the To This Post box, and click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    12/28

    13. In the IP Filter List window notice how a new IP Filter has been added. Now, if you want, add HTTPS (Any IP to Any IP, Protocol TCP, Destination Port 443) in the

    manner.

  • 7/30/2019 Block Web Browsing With IPSec

    13/28

    14. Now that you have both filters set up, click Ok

  • 7/30/2019 Block Web Browsing With IPSec

    14/28

    15. Back in the Manage IP Filter Lists and Filter actions review your filters and if all are set, click on the Manage Filter Actions tab. Now we need to add a filter action th

    block our designated traffic, so click Add.

  • 7/30/2019 Block Web Browsing With IPSec

    15/28

    16. In the Welcome screen click Next.

    17. In the Filter Action Name type Block and click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    16/28

    18. In the Filter Action General Options click Block then click on Next.

  • 7/30/2019 Block Web Browsing With IPSec

    17/28

    19. Back in the Manage IP Filter Lists and Filter actions review your filters and if all are set, click on the Close button. You can add Filters and Filter Actions at any time.

  • 7/30/2019 Block Web Browsing With IPSec

    18/28

    Next step is to configure the IPSec Policy and to assign it.

    Configuring the IPSec Policy1. In the same MMC console right-click IP Security Policies on Local Computer and select Create IP Security Policy.

  • 7/30/2019 Block Web Browsing With IPSec

    19/28

    2. In the Welcome screen click Next

    3. In the IP Security Policy Name enter a descriptive name, such as "Block HTTP, HTTPS". Click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    20/28

    4. In the Request for Secure Communication window click to clear the Active the Default Response Rule check-box. Click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    21/28

    5. In the Completing IP Security Policy Wizard window, click Finish.

  • 7/30/2019 Block Web Browsing With IPSec

    22/28

    6. We now need to add the various IP Filters and Filter Actions to the new IPSec Policy. In the new IPSec Policy window click Add to begin adding the IP Filters and Fil

    Actions.

  • 7/30/2019 Block Web Browsing With IPSec

    23/28

  • 7/30/2019 Block Web Browsing With IPSec

    24/28

    9. In the Network Type windows select All Network Connections and click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    25/28

    10. In the IP Filter List window select one of the previously configured IP Filters, for example "HTTP, HTTPS" (configured in step #6 at the beginning of this article). If,

    some reason, you did not previously configure the right IP Filter, then you can press Add and begin adding it now. When done, click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    26/28

    11. In the Filter Action window select one of the previously configured Filter Actions, for example "Block" (configured in step #15 at the beginning of this article). Again,

    you did not previously configure the right Filter Action, you can now press Add and begin adding it now. When done, click Next.

  • 7/30/2019 Block Web Browsing With IPSec

    27/28

    12. Notice how the IP Filter has been added.

    Again, you can add any combination of IP Filters and Filter Actions you like.

    Notice that you cannot change their order like in other full-featured firewalls. Even so, this configuration works perfectly as you will soon discover.

  • 7/30/2019 Block Web Browsing With IPSec

    28/28

    The next phase is to assign the IPSec Policy.

    Assigning the IPSec Policy1. In the same MMC console, right-click the new IPSec Policy and select Assign.

    Done, you can now test the configuration by trying to surf to restricted and unrestricted websites.