nurweilesgeht
Goto Top

Iptables Ports Hilfe

Moin,

was muss ich für Befehle eingeben, damit iptables mir diese Inhalte wiedergibt?

Chain FORWARD (policy DROP)
target prot opt source destination
MAILCOW all -- anywhere anywhere
DOCKER-USER all -- anywhere anywhere
DOCKER-ISOLATION-STAGE-1 all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain DOCKER (3 references)
target prot opt source destination
ACCEPT tcp -- anywhere 172.18.0.9 tcp dpt:8443
ACCEPT tcp -- anywhere 172.18.0.9 tcp dpt:http-alt
ACCEPT tcp -- anywhere 172.22.1.10 tcp dpt:8983
ACCEPT tcp -- anywhere 172.22.1.11 tcp dpt:snpp
ACCEPT tcp -- anywhere 172.22.1.11 tcp dpt:81
ACCEPT tcp -- anywhere 172.22.1.7 tcp dpt:mysql
ACCEPT tcp -- anywhere 172.22.1.250 tcp dpt:12345
ACCEPT tcp -- anywhere 172.22.1.250 tcp dpt:sieve
ACCEPT tcp -- anywhere 172.22.1.250 tcp dpt:pop3s
ACCEPT tcp -- anywhere 172.22.1.250 tcp dpt:imaps
ACCEPT tcp -- anywhere 172.22.1.250 tcp dpt:imap2
ACCEPT tcp -- anywhere 172.22.1.250 tcp dpt:pop3
ACCEPT tcp -- anywhere 172.22.1.12 tcp dpt:submission
ACCEPT tcp -- anywhere 172.22.1.12 tcp dpt:urd
ACCEPT tcp -- anywhere 172.22.1.12 tcp dpt:smtp

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target prot opt source destination
DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere
DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere
DOCKER-ISOLATION-STAGE-2 all -- anywhere anywhere
RETURN all -- anywhere anywhere

Chain DOCKER-ISOLATION-STAGE-2 (3 references)
target prot opt source destination
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
RETURN all -- anywhere anywhere

Chain DOCKER-USER (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain MAILCOW (2 references)
target prot opt source destination

Viele Grüße
nurweilesgeht

Content-Key: 545863

Url: https://administrator.de/contentid/545863

Printed on: April 18, 2024 at 05:04 o'clock

Member: Lochkartenstanzer
Solution Lochkartenstanzer Feb 11, 2020 updated at 15:16:44 (UTC)
Goto Top
man iptables

...
-L, --list [chain]
    List all rules in the selected chain. If no chain is selected, all chains are listed. Like every other iptables command, it applies to the specified table (filter is the default), so NAT rules get listed by

     iptables -t nat -n -L

    Please note that it is often used with the -n option, in order to avoid long reverse DNS lookups. It is legal to specify the -Z (zero) option as well, in which case the chain(s) will be atomically listed and zeroed. The exact output is affected by the other arguments given. The exact rules are suppressed until you use

     iptables -L -v

    or iptables-save(8). 
...

lks