?
Solved

How to temporarily prevent a connection with one or more IP in the same subnet

Posted on 2009-05-13
1
Medium Priority
?
295 Views
Last Modified: 2013-12-23
Let's say i have a server 192.168.0.1/24 and other 3 devices 192.168.0.2/24, 192.168.0.3/24 and 192.168.0.4/24, so all my devices/server are on the same subnet. From 1:00am to 2:00am i want temporarily prevent connection/ping from 192.168.0.1 to 192.168.0.2 and 192.168.0.3 but not with 192.168.0.4. Is there any way to do it for example with a scheduled script?

Thank you.
0
Comment
Question by:mathayus_ITA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 71

Accepted Solution

by:
Qlemo earned 2000 total points
ID: 24375612
Depending on the OS on 192.168.0.1, you could use the Windows Firewall to block outgoing connections to those addresses, with the firewall active only on schedule. This works with Vista and up.

Or you could use a Personal Firewall application to do the same.

Or - and that is a cheap hack - create host routes for those addresses with a gateway which will not forward the requests (should be any device other than 192.168.0.1).
E.g. a
    route add 192.168.0.2  192.168.0.254
where .254 is non-existent, is preventing any access to 192.168.0.2. However, traffic is produced.
0

Featured Post

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question