windows 10 firewall: block any ip address but one

i have just enabled remote desktop on a windows 10 computer, and in fact when i telnet to 3389 port from any other computer i can reach that service, but what i want is to deny the connection from any computer but a specific one (, so i have issued the commands below: netsh advfirewall … Read more

No NETSH WLAN context in Server 2008 Core install? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 8 years ago. Improve this question I installed Windows Server 2008 Core on a netbook and I’m trying to set it up as a wireless router. Took forever to … Read more

Problems using portproxy mapping on windows

I have a server app installed on windows server 2012 called air video server which on installation attaches to my local address [::1] instead of my network address [] on port 45631, I need the server to be reachable at I’ve looked for solutions and tried netsh interface portproxy set v4tov6 listenaddress=[] listenport=45631 connectaddress=[::1] … Read more

Block incoming DNS queries using netsh advfirewall

How do you do this with Windows firewall? iptables -I INPUT –in-interface ! lo -p udp –dport 53 -j DROP Ideally, if you can do this with netsh and so that it will survive whatever it is that Microsoft does with “Add Role”. (Most of the net programming advice for netsh advfirewall seems to be … Read more

OpenVPN: Setting DNS & WINS servers to Windows client, without DHCP

I have a few Windows 7/8 clients connecting to a Linux OpenVPN Server (tap). I’d like to set the clients’ DNS and WINS servers upon connection. The OpenVPN isn’t acting as DHCP server; there is an independent DHCP sever in the network. The most reasonably way to achieve that is through DHCP. However, the DHCP … Read more

cmd – delete IP from rule (Windows Server 2008)

I’m banning IPs using the Windows Firewall with these commands in cmd (actually in C# but using the cmd): pushd advfirewall firewall set rule name=”BlockedIPs” new remoteip=”″ action=block protocol=any dir=in popd How do I remove a single IP from that rule using cmd again, without deleting the whole rule? Thanks. Answer I think you could … Read more

No connection available in pool. netstat RecvQ shows high number

In our servers there is one particular dependency (java jar), which makes a total of 1024 connection to various remote servers (the library works as a service discovery). Intermittently, it is observed that all the connection in the connection pool gets exhausted and there are no connections available for the incoming traffic to that particular … Read more

Work Folders / IIS – Using Wrong Certificate – Ignoring Bindings

I can’t seem to get Work Folders to serve using the correct certificate. I’ve bound it via netsh to a wild card certificate, and when I check “netsh http show sslcert” every binding uses the correct certificate. C:\Users\Administrator>netsh http show sslcert SSL Certificate bindings: ————————- IP:port : Certificate Hash : d3228f2011af4142da58197d0ade82a7da37f519 Application ID : … Read more

DHCP export using netsh

I’m trying to export a DHCP database using the following command: netsh dhcp server export c:\dhcpdb.dat all However it completes with the error WARNING: Could not obtain host information from machine: [server]. Some commands may not be available. I’ve had a good look around but can’t see this error appearing with the netsh command. I’ve … Read more