Solved

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

Posted on 2009-05-13
1
285 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
1 Comment
 
LVL 68

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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now