+ Post New Thread
Results 1 to 5 of 5
Internet Related/Filtering/Firewall Thread, iptables equivelent for windows 2008 r2 server in Technical; My hardware firewall is just a netgear adsl modem. I use port forwading to servers, and on my linux boxes ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199

    iptables equivelent for windows 2008 r2 server

    My hardware firewall is just a netgear adsl modem. I use port forwading to servers, and on my linux boxes i run iptables to limit connections to certain IPs.

    Im wanting to forward 3389 (rdp) to a windows machine, but I want to limit connections to certain IPs only..

    Is there anything in windows I can use to do this, or perhaps a 3rd party (free) application I can use?

    Cheers

  2. #2

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    OK it seems there is something..

    Netsh Commands for Windows Firewall with Advanced Security

    But I cant quite figure out the syntax...

    I want to allow all local IPs to port 3389 (rdp) but only allow IP 1.2.3.4 and 5.6.7.8 from the intenet..

    Can anyone point me in the right direction? Cheers

  3. #3

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    Probably easier if you fire up the Advanced Firewall (WFAS) MMC.

  4. Thanks to PiqueABoo from:

    RabbieBurns (12th February 2011)

  5. #4


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,759
    Thank Post
    221
    Thanked 2,630 Times in 1,938 Posts
    Rep Power
    779
    There's already a default rule for Remote Desktop, so you would only need to update it with the remote IPs. e.g.

    Code:
    netsh advfirewall firewall set rule name="Remote Desktop (TCP-In)" new remoteip=1.2.3.4,5.6.7.8
    To specify a range of IPs you can do either of the following...

    Code:
    netsh advfirewall firewall set rule name="Remote Desktop (TCP-In)" new remoteip=1.2.3.4/32,5.6.7.8-5.6.7.14

  6. Thanks to Arthur from:

    RabbieBurns (12th February 2011)

  7. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    cheers, will try it out on monda

SHARE:
+ Post New Thread

Similar Threads

  1. New SIMS Server - Windows 2008 R2 & SQL 2008 R2
    By MYK-IT in forum MIS Systems
    Replies: 23
    Last Post: 17th June 2010, 09:31 AM
  2. Replies: 12
    Last Post: 27th April 2010, 08:28 AM
  3. Replies: 0
    Last Post: 4th September 2009, 12:48 AM
  4. Migrating from Windows 2000 Server to Windows Server 2008
    By Kamran7860 in forum Windows Server 2008
    Replies: 1
    Last Post: 3rd April 2009, 10:29 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •