RabbieBurns Posted February 11, 2011 Posted February 11, 2011 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
RabbieBurns Posted February 12, 2011 Author Posted February 12, 2011 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
PiqueABoo Posted February 12, 2011 Posted February 12, 2011 Probably easier if you fire up the Advanced Firewall (WFAS) MMC. 1
Arthur Posted February 12, 2011 Posted February 12, 2011 There's already a default rule for Remote Desktop, so you would only need to update it with the remote IPs. e.g. 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... 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 1
RabbieBurns Posted February 12, 2011 Author Posted February 12, 2011 cheers, will try it out on monda
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now