在工作中,我们有两个网络;一个WiFi网络,用于正常的互联网接入;一个内部局域网网络,用于回购等。我最近开始使用Linux,这是痛苦的,必须不断地在电缆和WiFi之间切换。在Windows上,我们通过运行以下命令来解决这个问题(这样我们就可以同时连接到两个网络):
# Add a route for all traffic to any destination starting with 10 (internal traffic):
route add 10.0.0.0 mask 255.0.0.0 10.18.21.129 metric 40 -p
# Move the default ro
最近,我发现了如何用以下命令“阻止”计算机中的IP地址:
sudo iptables -A INPUT -s 210.1.193.49 -j DROP #Blocks 210.1.193.49 from your computer
我在想,我怎么能为网络上的所有主机做到这一点,而不仅仅是我的机器。
我正在运行Kali Linux。
场景:让我们说我的“网吧”正在遭受DoS攻击。如果我想阻止向我发送数据包的IP地址,我将如何做到?
故障:攻击者正在使用低轨离子炮来DoS我的网络,使用我的公共IP地址(攻击者来自网络外)我想阻止攻击者IP地址到达我的网络
我在航站楼的第一步:
aivinor@mcph:~$ sudo apt-get install ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
imagemagick-common liblqr-1-0 libmagickcore5 lib