How to block all trafict except few ports and applications?

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Minecraft2207
A regular
A regular
Posts: 49
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Feb 28, 2013 7:49 am

How to block all trafict except few ports and applications?

Post by Minecraft2207 »

Hi,

It's with Windows Firewall in ws2k8r2x64.

I wan't to know how do i block all trafict TCP/UdP except for ports i.e: port1, port2, port3, port4, port5.

And also allow 4 applications TCP/UDP inbound.

As aditional, is there a way that i set a rule like this?

Allow TCP/UDP inbound where local port is port8 and remote address is domani.com (or also can be an IP)

Thanks.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: How to block all trafict except few ports and applicatio

Post by Spray »

All of these rules should be straight forward to setup. Have you taken a look at the Getting Started guide on the Microsoft website? It has a lot of good info: http://technet.microsoft.com/en-us/libr ... S.10).aspx

Basically, you would choose inbound rules, create a new rule, then follow the step-by-step prompt.
User avatar
Sherlock
A semi-regular
A semi-regular
Posts: 15
Joined: Wed Mar 20, 2013 3:19 am

Re: How to block all trafict except few ports and applicatio

Post by Sherlock »

Basically from what you wrote, and from my past experience and knowledge, the way to do this would be via the Router. Using your router you can choose to portforward certain ports and allow certain programs through. Or to allow programs / applications through your firewall, what you would do is open up your control panel, then go to firewall, allow an app or feature through windows firewall, then add another app, and follow the steps given, if you need anymore help just reply and I'll reply as soon as I see your message! Hope everything works out!


Cory
Cory Goodwin
I code: Pawn, Html, PHP, Sql, Java.
I provide support: Websites, TF2, MCraft, DB's, IIS, DNS, Domain, MailClients, GMod, CS 1.6, CSS, Source SDK, SourceMod, ANY Plugin, Ventrillo, Mumble, Teamspeak, Steam Updates.
If you ever need help ask!
Post Reply