• Kerjaan Fri, Jun 25, 2010

    Salah satu cara yang sering gw lakukan untuk memutuskan koneksi dari komputer user bila ada hal aneh muncul dari komputer tersebut ( virus dan kawan2nya yang sering mencoba mengakses internet / menghabiskan bandwidth resource).

    Contoh untuk drop connection dari mac address : 00:21:91:54:89:1A

    iptables -A INPUT -m mac –mac-source 00:21:91:54:89:1A -j DROP

    Contoh untuk memberi ijin koneksi pada port2 tertentu untuk mac address 00:21:91:54:89:1A

    iptables -A INPUT -p tcp --destination-port 8080 -m mac --mac-source 00:21:91:54:89:1A -j ACCEPT
    

    Posted by roman @ 9:52 am for Kerjaan |

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *


    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

June 2010
M T W T F S S
« Apr   Aug »
 123456
78910111213
14151617181920
21222324252627
282930  

Chat here