Keresés

Új hozzászólás Aktív témák

  • winbox

    senior tag

    válasz vargalex #11610 üzenetére

    Elsődleges cél a p2p tiltás volt, plusz van hozzá még pár szűrés. A szűrés nagyszerűen teszi a dolgát, de most meg nem hajlandó kivételt tenni :S

    #l7proto MSN and P2P block
    iptables -I FORWARD -m layer7 --l7proto msnmessenger -j DROP
    iptables -I FORWARD -m layer7 --l7proto msn-filetransfer -j DROP
    iptables -I FORWARD -m layer7 --l7proto 100bao -j DROP
    iptables -I FORWARD -m layer7 --l7proto ares -j DROP
    iptables -I FORWARD -m layer7 --l7proto audiogalaxy -j DROP
    iptables -I FORWARD -m layer7 --l7proto bittorrent -j DROP
    iptables -I FORWARD -m layer7 --l7proto directconnect -j DROP
    iptables -I FORWARD -m layer7 --l7proto edonkey -j DROP
    iptables -I FORWARD -m layer7 --l7proto fasttrack -j DROP
    iptables -I FORWARD -m layer7 --l7proto gnutella -j DROP
    iptables -I FORWARD -m layer7 --l7proto mute -j DROP
    iptables -I FORWARD -m layer7 --l7proto poco -j DROP
    iptables -I FORWARD -m layer7 --l7proto shoutcast -j DROP
    iptables -I FORWARD -m layer7 --l7proto soulseek -j DROP
    iptables -I FORWARD -m layer7 --l7proto tesla -j DROP

    # Block Torrents Strings using Boyer-Moore
    iptables -I FORWARD -m string --string "BitTorrent protocol" --algo bm -j DROP
    #iptables -I FORWARD -m string --string ".torrent" --algo bm -j DROP

Új hozzászólás Aktív témák