MattsTechInfo / Meshnet

NordVPN Meshnet Docker client
MIT License
25 stars 5 forks source link

Error connecting Meshnet on Oracle Cloud ARM64 OKE Kubernetes nodes #8

Closed MattsBos closed 7 months ago

MattsBos commented 1 year ago

Currently getting the following error running on Kubernetes arm64. Can't really find the problem yet, NordVPN client logs on correctly but fails when trying to enable Meshnet. Whoops! Connection failed. Please try again. If the problem persists, contact our customer support.

MattsBos commented 1 year ago

After some more troubleshooting I was able to dig up the following error from the NordVPN client logs: [Error] setting mesh: enabling exit node: enabling filtering: iptables listing rules: exit status 3: iptables v1.8.4 (legacy): can't initialize iptables table "filter": Table does not exist (do you need to insmod?)

This seems to indicate that the Kubernetes node is missing some IPtables modules, I'm currently running Oracle Linux 8.7 OKE images on the Oracle Cloud OKE cluster.

Running on local Kubernetes based on Debian images seems to work fine. Will have a look at this later.

MattsBos commented 11 months ago

Running the following command on the host/node fixes the error. sudo modprobe iptable_filter

Will have to see if there is a way to work with this from the docker-compose and Kubernetes deployment files instead of having to touch the host/node.

MattsBos commented 7 months ago

Will be adding this to the documentation instead, implications are too big.