Ubuntu 24.04.1 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelutUusimmat julkaisut: 24.04.1 LTS (suositeltu, 29.8.2024) ja 24.10 - Ubuntun 20-vuotisjulkaisu! (10.10.2024).
martti@hp7721linux:~/Desktop$ sudo iptables -LChain INPUT (policy DROP)target prot opt source destination ACCEPT 0 -- anywhere anywhere ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED DROP udp -- anywhere 192.168.1.255 LOG 0 -- anywhere anywhere LOG level warning prefix `mra-firewall: ' Chain FORWARD (policy DROP)target prot opt source destination LOG 0 -- anywhere anywhere LOG level warning Chain OUTPUT (policy ACCEPT)target prot opt source destination martti@hp7721linux:~/Desktop$
Moi !iptablesiini tulee väkisin kummallinen rivi tuohon ekaksi:Koodia: [Valitse]martti@hp7721linux:~/Desktop$ sudo iptables -LChain INPUT (policy DROP)target prot opt source destination ACCEPT 0 -- anywhere anywhere
martti@hp7721linux:~/Desktop$ sudo iptables -LChain INPUT (policy DROP)target prot opt source destination ACCEPT 0 -- anywhere anywhere
sudo iptables -L
Chain INPUT (policy ACCEPT)target prot opt source destination Chain FORWARD (policy ACCEPT)target prot opt source destination Chain OUTPUT (policy ACCEPT)target prot opt source destination
martti@hp7721linux:~$ sudo iptables -v -n -L --line-numbersChain INPUT (policy DROP 0 packets, 0 bytes)num pkts bytes target prot opt in out source destination 1 0 0 ACCEPT tcp -- * * 193.210.18.18 0.0.0.0/0 tcp flags:!0x17/0x02 2 0 0 ACCEPT udp -- * * 193.210.18.18 0.0.0.0/0 3 0 0 ACCEPT 0 -- lo * 0.0.0.0/0 0.0.0.0/0 4 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 10/sec burst 5