我有一个与块 111 端口相关的问题,仅适用于udp
. 因为tcp
它被阻止没有任何问题。此端口由应用程序使用rpcbind
。我通过netcat
. 这是我的iptables。它包含空链FORWARD
,因为我已经从中删除了所有规则以便于理解。
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 DROP udp -- anywhere anywhere udp dpt:sunrpc
2 DROP tcp -- anywhere anywhere tcp dpt:sunrpc
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 DOCKER-OVERLAY all -- anywhere anywhere
Chain DOCKER (0 references)
num target prot opt source destination
Chain DOCKER-ISOLATION (0 …
Run Code Online (Sandbox Code Playgroud)