Solved

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

Posted on 2009-05-13
1
289 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 69

Accepted Solution

by:
Qlemo earned 500 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
An article on effective troubleshooting
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

726 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