
dekuju za info
Kód: Vybrat vše
add action=drop chain=forward p2p=all-p2p
michnzee píše:Mě zase dobře fungovala kombinace L7 filtru, kdy jsem vyblokoval portály i announce + použití L7 filtru ve firewallu. Žádný z klientů si neGETnul při spojení už nicjinde sem s tím zase blokoval třeba i pornostránky, stahovací portály atp. Jen pozor na to - když se to s těmi restrikcemi v L7 filtru přežene, spapá to hodně CPU...
Kód: Vybrat vše
/ip firewall layer7-protocol
add comment="== torrent stranky ==" name=torrentsites regexp="^.*(get|GET).+torrent|thepiratebay|isohunt|cztorrent|tatracker|entertane|demonoid|btjunkie|mininova|flixflux|torrentz|vertor|h33t|btscene|bitunity|thunderbytes|entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirate|commonbits).*\$"
add comment="== stranky ==" name=blocksites regexp="^.*(get|GET).+(seznam|idnes).*\$"
add comment="== socialni site ==" name=block-socials regexp="^.+(facebook|twitter|youtube).*\\\$"
Kód: Vybrat vše
/ip firewall filter
add action=reject chain=forward comment="==BLOCK L7 WEBSITES==" disabled=yes layer7-protocol=block-socials
add action=drop chain=forward comment="== BLOCK L7 TORR KEY ==" content=torrent disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR PEERS ==" content=getpeers disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR TRACK ==" content=tracker disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR HASH ==" content=info_hash disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR ANNOUNCE ==" content=announce_peers disabled=yes src-address=192.168.1.0/24
testerr píše:Super vyzkousim....
chapu to dobre ze "src-address=192.168.1.0/24" je brana hotspotu..?
jinak dekuju!
michnzee píše:testerr píše:Super vyzkousim....
chapu to dobre ze "src-address=192.168.1.0/24" je brana hotspotu..?
jinak dekuju!
Je to rozsah adres, na které se uplatňuje pravidlo(source adress)