IT Community - Software Programming, Web Development and Technical Support

how to open all tcp/udp ports to a subnet?

This is a discussion on how to open all tcp/udp ports to a subnet? within the Computer Hardware forums, part of the Computer Hardware/Software and Networking category; how to open all tcp/udp ports to a subnet? I want to know how to config w2k8 firewall so ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Computer Hardware/Software and Networking > Computer Hardware

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-02-2009, 08:30 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default how to open all tcp/udp ports to a subnet?

how to open all tcp/udp ports to a subnet?

I want to know how to config w2k8 firewall so that it open all tcp/udp ports to a subnet?

I played with open a port, but there are just too many ports. so i think that there must be a way
to allow subnet.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-02-2009, 08:33 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: how to open all tcp/udp ports to a subnet?

Hi,


You can create a firewall rule to allow all ports (TCP/UDP) and specify the IP subnet that this rule matches. Here is an example for your reference:


1. In Windows Firewall with Advanced Settings console, create a New Inbound Rule.

2. In the Rule Type page, select Custom, click Next.

3. In the Program page, select All programs, click Next.

4. In the Protocol and Ports page, select the following options and click Next:

Protocol type: TCP (or UDP)
Local port: All Ports
Remote port: All Ports

5. In the Scope page, click These IP address under Which remote IP addresses does this rule match? section, click Add button, select This IP address range, type the IP address range of the subnet, click OK, and then click Next.

6. In the Action page, select Allow the connection, click Next.

7. Select all profiles, click Next to finish the wizard.


For additional information about Windows Firewall in Windows Server 2008, refer to the following article:


Windows Firewall with Advanced Security and IPsec

Windows Firewall with Advanced Security and IPsec
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-02-2009, 08:35 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: how to open all tcp/udp ports to a subnet?

Hi,

On windows Server 2008, there are three zones for the firewall. These include domain, private and public. If all the computers on the subnet are on the domain, open up the domain firewall zone fully, but keep the others more secure. This should give you the openness of the server, but keep you protected, that you are looking for.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-02-2009, 08:36 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: how to open all tcp/udp ports to a subnet?

Hi,

Thank you very much for everyone's supporting.

I got it to work manually, but i have yet to make it automatic. Is there a NETSH command line (or other) to
do the configuration automaticlly?

Thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-02-2009, 08:43 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: how to open all tcp/udp ports to a subnet?

Hi,

i am not sure if this work.


netsh advfirewall firewall add rule name="TEST" dir=in action=allow protocal=tcp localport=any program=all remoteip=xxx.xxx.xxx.xxx - xxx.xxx.xxx.xxx

thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-02-2009, 08:45 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: how to open all tcp/udp ports to a subnet?

Hi,

It should work. For more information, please refer to the following article:

How to use the "netsh advfirewall firewall" context instead of the "netsh firewall" context to control Windows Firewall behavior in Windows Server 2008 and in Windows Vista
How to use the "netsh advfirewall firewall" context instead of the "netsh firewall" context to control Windows Firewall behavior in Windows Server 2008 and in Windows Vista

Netsh AdvFirewall Firewall Commands
Netsh AdvFirewall Firewall Commands

Thanks.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 nics on same subnet failing validation arjkhanna Server Management 5 05-11-2009 02:21 AM
Open Issue vigneshgets Software Testing 2 01-24-2008 02:39 AM
What is subnet? anbuchezhians Java Programming 1 07-25-2007 11:59 PM
USB ports simplesabita Computer Hardware 0 07-20-2007 06:21 AM
Open Minded nhoj The Lounge 4 07-05-2007 01:27 PM


All times are GMT -7. The time now is 12:01 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0