iptables���� iptables��������
[����]linux��ͨ��iptables������������ʵ�á�ͨ�����½ű�����ʵ�֣�������Ҫ����̨�������ó����ء� 1.����iptablesת�����ԣ� 2.���ٽű� vi /root/xiansu.sh #!/bin/bash /sbin/iptables -F FORWARD #�������� for...
linux��ͨ��iptables������������ʵ�á�ͨ�����½ű�����ʵ�֣�������Ҫ����̨�������ó����ء�
1.����iptablesת�����ԣ�
2.���ٽű�
vi /root/xiansu.sh
#!/bin/bash
/sbin/iptables -F FORWARD
#��������
for ((i = 1; i < 253; i++)) do
/sbin/iptables -A FORWARD -s 192.168.2.$i -m limit \
--limit 60/s -j ACCEPT
/sbin/iptables -A FORWARD -s 192.168.2.$i -j DROP
done
#���Ƶ���ip
/sbin/iptables -A FORWARD -s 192.168.1.135/32 -m limit \
--limit 60/s -j ACCEPT
/sbin/iptables -A FORWARD -s 192.168.1.135/32 -j DROP
2.����ִ��Ȩ�ޣ�
chmod+x /root/xiansu.sh
������С��60/s��ʱ����iptables ���ܲ�ת��������������60/s ��ʱ����iptables�������ݰ���
- ת����ע����Դ��ITѧϰ�� ��ַ��http://www.t086.com/ �����������Ƽ�������
- �ر������� ��վ�������ر�������ֹת�ص�ר�������������¿�������ת�أ���������ע��������ԭʼ���ߡ����°�Ȩ������ԭʼ�������С����ڱ���վת�����µĸ��˺���վ�����DZ�ʾ������л�⡣������վת�ص������а�Ȩ��������ϵ���ǣ����ǻᾡ�����Ը�����
- �������е���ɫ
- �������ж�IP��ַ��A��B���C��
- ������ϵ��Ц�� (ʷ����ȫ��
- ��Google���������ŵ���ͨv4.0
- ���ٶ�ͳ��URL��hm������utm�����Ķ�Ӧ��ϵ
- ��ƻ������MACbook Air���ݼ���ȫ
- ��Linux��ʹ��host��dig��nslookup��ѯDNS
- ���������ԡ���װ Windows XP ����ϵͳ��ͼ��ȫ����
- �����Լ���VPS�Google��������
- ��С�ڴ�VPS֮Nginx+PHP-fpm�߸����Ż���ѹ�����Է���
- ������������������̸�����ɶ��ر�
- ��������������ѡʳƷ����2020�ļ��ȵ�Ͷ�ʲ��Ժ���������
- �����ڵ�����֤50���ƴ�50����ָ֤�������Ĺ���
- ����֤50����Щ��Ʊ_��֤50Ȩ����������
- ������300����֤50����֤500��ָ��2019���ڶ��ζ��ڵ���������
- ������300��ֵ/�ɳ�ָ�����Ʒ����������й�ƽ��Ȩ���½�
- ����ָ֤��������֤50��ָ��������
- ����ָ֤��������֤����ָ��������
- ����ָ֤��������֤100ָ��������
- ����ָ֤����������300ָ��������