|
Iptables ile kuralları numaralı olarak sıralamak
|
|
03-12-2010, 01:03 PM
Mesaj: #1
|
|||
|
|||
|
Iptables ile kuralları numaralı olarak sıralamak
/sbin/iptables -L -n --line-numbers
komutunun verilmesi yeterlidir. Örnek bir çıktı: Chain INPUT (policy ACCEPT) num target prot opt source destination Chain FORWARD (policy ACCEPT) num target prot opt source destination 1 ptl_fwd all -- 0.0.0.0/0 192.168.2.0/24 2 ptl_fwd all -- 192.168.2.0/24 0.0.0.0/0 3 LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 Chain OUTPUT (policy ACCEPT) num target prot opt source destination Chain ptl_fwd (2 references) num target prot opt source destination 1 RETURN all -- 192.168.2.1 0.0.0.0/0 2 RETURN all -- 0.0.0.0/0 192.168.2.1 3 RETURN all -- 192.168.2.10 0.0.0.0/0 4 RETURN all -- 0.0.0.0/0 192.168.2.10 5 RETURN all -- 192.168.2.5 0.0.0.0/0 6 RETURN all -- 0.0.0.0/0 192.168.2.5 7 RETURN all -- 192.168.2.3 0.0.0.0/0 8 RETURN all -- 0.0.0.0/0 192.168.2.3 9 ACCEPT udp -- 192.168.2.0/24 0.0.0.0/0 udp spts:67:68 dpts:67:68 10 ACCEPT udp -- 192.168.2.0/24 0.0.0.0/0 udp spt:53 11 ACCEPT udp -- 192.168.2.0/24 0.0.0.0/0 udp dpt:53 12 ACCEPT tcp -- 192.168.2.0/24 0.0.0.0/0 tcp dpt:80 13 REJECT icmp -- 192.168.2.0/24 0.0.0.0/0 icmp type 8 reject-with icmp-port-unreachable 14 ACCEPT icmp -- 192.168.2.0/24 0.0.0.0/0 15 REJECT all -- 192.168.2.0/24 0.0.0.0/0 reject-with icmp-port-unreachable Özdemir Şarman aka (Charmant-zavanetratan) |
|||
'Iptables ile kuralları numaralı olarak sıralamak' Konusunu Paylaş |
| Benzeyen Konular | |||||
| Konu: | Yazar | Cevaplar: | Gösterim: | Son Mesaj | |
| Küçük bir iptables dökümantasyonu | ozsarman | 0 | 424 |
03-12-2010 01:04 PM Son Mesaj: ozsarman |
|
| Iptables ile örnek bir konfigürasyon | ozsarman | 0 | 244 |
03-12-2010 01:04 PM Son Mesaj: ozsarman |
|
| Iptables kural silmek? | ozsarman | 0 | 277 |
03-12-2010 01:02 PM Son Mesaj: ozsarman |
|
| Iptables info düzeyi log | ozsarman | 0 | 372 |
03-12-2010 01:02 PM Son Mesaj: ozsarman |
|

Arama
Üye Listesi
Takvim
Yardım














