primeposa.blogg.se

Sudo iptables
Sudo iptables









sudo iptables

Pkts bytes target prot opt in out source destinationħ745 6400K tcp - any any anywhere anywhere tcp dpt:httpsġ22 7228 ACCEPT tcp - any any anywhere anywhere tcp dpt:snppģ582 1350K ACCEPT tcp - any any anywhere anywhere tcp dpt:ssyncdĥ7 2868 ACCEPT tcp - any any anywhere anywhere tcp dpt:tproxyĬhain FORWARD (policy DROP 0 packets, 0 bytes)ġ898K 6060M DOCKER-ISOLATION all - any any anywhere anywhereġ423K 8009M DOCKER all - any docker0 anywhere anywhereġ381K 8003M ACCEPT all - any docker0 anywhere anywhere ctstate RELATED,ESTABLISHEDĥ71K 98M ACCEPT all - docker0 !docker0 anywhere anywhereĢ2 1320 ACCEPT all - docker0 docker0 anywhere anywhereĬhain OUTPUT (policy ACCEPT 38 packets, 6436 bytes)ħ3 5057 ACCEPT tcp - !docker0 docker0 anywhere 172.17.0.2 tcp dpt:28017ġ63 10362 ACCEPT tcp - !docker0 docker0 anywhere 172.17.0.2 tcp dpt:27017ġ5086 2366K ACCEPT tcp - !docker0 docker0 anywhere 172.17.0.3 tcp dpt:tproxyĦ9 4120 ACCEPT tcp - !docker0 docker0 anywhere 172.17.0.4 tcp dpt:8888Ģ063K 8114M RETURN all - any any anywhere anywhere This can help shed light on which rules are active and applied often, and which rules are crusty and unused.Ĭhain INPUT (policy ACCEPT 53 packets, 3680 bytes) Optionally, add the -v flag to show two extra columns (number of packets/bytes that have matched this rule).

sudo iptables sudo iptables

To list all the rules currently in place for iptables, use the -L flag.











Sudo iptables