Minikube VM
is missing a Netfilter xt_socket
module required for Transparent Proxying (TPROXY)
#3713
Labels
area/guest-vm
General configuration issues with the minikube guest VM
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
Transparent Proxying (TPROXY) is a feature of Linux Kernel that is used by Service Meshes, such as Istio or Kong, to "intercept" traffic in a side car process.
According to Kernel documentation, Transparent Proxying requires 2
Netfilter
modules to be present:NETFILTER_XT_TARGET_TPROXY
NETFILTER_XT_MATCH_SOCKET
At the moment,
Minikube VM
comes only withNETFILTER_XT_TARGET_TPROXY
module and is missingNETFILTER_XT_MATCH_SOCKET
.How to reproduce
minikube ssh
sudo iptables -t mangle -N TPROXY_ISSUE
sudo iptables -t mangle -A TPROXY_ISSUE -p tcp -m socket -j RETURN
The last command will fail with an error message
iptables: No chain/target/match by that name.
Reproducible on
v0.33.1
The text was updated successfully, but these errors were encountered: