pokopioalem te skrypty, potworzylem pliki, wydajac polecenie
iptables -t mangle -v -L PREROUTING
wyswietla sie lista portow itp...
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:nntp
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:3832
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:8000
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:8001
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:8074
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:8350
0 0 niceshaper_ul tcp -- eth0 any 192.168.0.0/24 anywhere tcp dpt:9078
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:www
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:443
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:22
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:21
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:25
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:domain
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:pop3
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:8080
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:27015
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:27016
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:27017
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:20
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:7000
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:28960
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:28961
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:28962
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:28963
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:28964
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:119
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:3832
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:8000
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:8001
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:8074
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:8350
0 0 niceshaper_ul udp -- eth0 any 192.168.0.0/24 anywhere udp dpt:9078
0 0 niceshaper_ul all -- eth0 any 192.168.0.0/24 anywhere length 0:128
0 0 niceshaper_ul icmp -- eth0 any 192.168.0.0/24 anywhere
Ale czemu pusto?
czy porty w pliku UDP te same co TCP? przynajmniej te co wkleiles na forum...?
Co mam rozumiem przez konce wierszy sa zawijane?
czy te pliki maja miec jakies konkretne chmody?
Pozdrawiam