Matriux Community

Matriux => # howto => Topic started by: Arup on July 10, 2015, 01:24:14 PM



Title: How to block a IP address in My LAN Network...and how to unlock any IP that was
Post by: Arup on July 10, 2015, 01:24:14 PM
Sir,

How to block a IP address in My LAN Network...and how to unlock any IP that was


Title: Re: How to block a IP address in My LAN Network...and how to unlock any IP that was
Post by: kodo no kami on July 12, 2015, 01:16:24 AM
Sir,

How to block a IP address in My LAN Network...and how to unlock any IP that was

depending on the topology of a network you can use iptables or using a machine as a proxy to filter the ip.

example:

your machine   <----->  other machine 
192.168.1.1      route   200.0.0.1

you can use

# Iptables -A INPUT -s 200.0.0.1 -j DROP
# Iptables -A OUTPUT -d 200.0.0.1 -j DROP

in case that the entry is setted the source 200.0.0.1 will drop. and the entry is setted the 200.0.0.1 destination will drop

my english is little bad kkkk.


Title: Re: How to block a IP address in My LAN Network...and how to unlock any IP that was
Post by: Nrador007 on October 06, 2016, 03:08:49 AM
Thank you very much for the love