Restrict Windows 2008 RRAS VPN Users from Accessing Specific Resources

AID: 4273
  • Status: Published

2470 points

  • Bycshepfam
  • TypeTutorial
  • Posted on2010-12-21 at 06:13:14
Using Windows 2008 RRAS, I was able to successfully VPN into the network, but I was having problems restricting my test user from accessing certain things on the network.  I used Google in order to try to find out how to stop people from accessing certain servers, but the options given were not the ones I needed, such as adding group policies to folders and the like.

After excessive testing, I was able to find the solution.  Here are the steps you’ll need to take to restrict vpn users from accessing certain servers/resources.

In Active Directory create a group called “VPN Users” or whatever name you seem fit.  Create a VPN test user and add this user to the “VPN Users” group.  In the dial-in tab of the VPN test user, make sure “Control access through NPS Network Policy” is checked.

In the Windows 2008 RRAS server, right click on “Remote Access Logging & Policies” and select “Launch NPS”.  Right click on IP Filters and select “New”.  Select a Template name such as “VPN IP Restrict” and then select “Output Filters”.  Inside of the Output Filters tab, this is where you will add the IP addresses that you want the VPN users to access.  For instance, we wanted our VPN users to access our internal email so we added in the IP address 192.168.0.10.  Add the IP address you want in there, and you also have the option to only allow them to access specific ports on the IP address.  If you only want users to access your FTP server, then you would add in the IP address of the FTP server, under “Protocol” select TCP or TCP Established, make the SOURCE port 21 and the DESTINATION port 0.  This will allow for them to FTP into your server only via FTP and cannot access that IP address any other way.  Make sure to select “Permit only the packets listed below” because by default it picks “Do not permit packets listed below

Now right click on “Network Policies” and select “New”.  Create your Policy name and hit “Next”. Click on “Add” under “Conditions” and select “Windows Groups”.  Find the group you created in Active Directory for VPN users.  Make sure “Access granted” is checked and click “Next”.  Click Next under Configure Authentication Methods, click Next under Configure Constraints.  Under Configure Settings, select “IP Filters” and select the IP Filter template you created and then hit Next and Finish.  Right click on the Policy name and move it up.

And that’s pretty much it.  Once you have the client side setup the way you like, connect using the VPN test user account you created in Active Directory and once you make the connection, ping the IP address you have access to.  If you allowed any port you will successfully ping.  If you only allowed a specific port, you won’t be able to ping but try to connect through the port you allowed.
Asked On
2010-12-21 at 06:13:14ID4273
Tags

Windows 2008

,

VPN

,

RRAS

,

Restrict

Topic

Virtual Private Networking (VPN)

Views
1853

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top VPN Experts

  1. RobWill

    33,240

    0 points yesterday

    Profile
    Rank: Savant
  2. erniebeek

    32,541

    0 points yesterday

    Profile
    Rank: Genius
  3. fgasimzade

    25,100

    0 points yesterday

    Profile
    Rank: Wizard
  4. jmeggers

    22,700

    0 points yesterday

    Profile
    Rank: Sage
  5. diprajbasu

    20,784

    0 points yesterday

    Profile
    Rank: Guru
  6. thinkpads_user

    19,940

    0 points yesterday

    Profile
    Rank: Genius
  7. PeteLong

    16,300

    0 points yesterday

    Profile
    Rank: Genius
  8. Kvistofta

    15,900

    0 points yesterday

    Profile
    Rank: Sage
  9. Qlemo

    15,736

    0 points yesterday

    Profile
    Rank: Genius
  10. Syed_M_Usman

    15,650

    0 points yesterday

    Profile
    Rank: Wizard
  11. arnold

    15,298

    0 points yesterday

    Profile
    Rank: Genius
  12. henkva

    15,000

    0 points yesterday

    Profile
    Rank: Master
  13. pwindell

    14,100

    0 points yesterday

    Profile
    Rank: Genius
  14. amatson78

    11,895

    10 points yesterday

    Profile
    Rank: Master
  15. giltjr

    10,912

    0 points yesterday

    Profile
    Rank: Genius
  16. ikalmar

    10,500

    0 points yesterday

    Profile
    Rank: Genius
  17. carlmd

    9,620

    0 points yesterday

    Profile
    Rank: Guru
  18. MikeKane

    9,418

    0 points yesterday

    Profile
    Rank: Genius
  19. RobMobility

    8,916

    0 points yesterday

    Profile
    Rank: Genius
  20. alienXeno

    8,800

    0 points yesterday

    Profile
    Rank: Master
  21. asavener

    8,400

    0 points yesterday

    Profile
    Rank: Sage
  22. kevinhsieh

    8,400

    0 points yesterday

    Profile
    Rank: Genius
  23. rschnitzer

    7,732

    0 points yesterday

    Profile
  24. dpk_wal

    7,700

    0 points yesterday

    Profile
    Rank: Genius
  25. Mutawadi

    7,632

    0 points yesterday

    Profile
    Rank: Guru

Hall Of Fame