gluetun: Bug: iptables table `filter': Table does not exist, exit status 3
Is this urgent?
No response
Host OS
Rocky Linux 8.5
CPU arch
x86_64
VPN service provider
Private Internet Access
What are you using to run the container
docker run
What is the version of Gluetun
v3.26.0
What’s the problem 🤔
Unable to connect to Gluetun, it seems to be shutting down after having issues with iptables. I’ve ruled out any issues with the Kernel, and I Have the List of all recently installed packages. I’m currently going through it now to see what caused it.
Share your logs
Perhaps iptables or your kernel needs to be upgraded.: exit status 3,
2021/12/05 22:01:49 INFO Shutdown successful,
========================================,
========================================,
=============== gluetun ================,
========================================,
=========== Made with ❤️ by ============,
======= https://github.com/qdm12 =======,
========================================,
========================================,
,
Running version v3.26.0 built on 2021-11-27T12:16:34.703Z (commit b9a9319),
,
🔧 Need help? https://github.com/qdm12/gluetun/discussions/new,
🐛 Bug? https://github.com/qdm12/gluetun/issues/new,
✨ New feature? https://github.com/qdm12/gluetun/issues/new,
☕ Discussion? https://github.com/qdm12/gluetun/discussions/new,
💻 Email? quentin.mcgaw@gmail.com,
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12,
2021/12/05 22:02:52 INFO storage: merging by most recent 11120 hardcoded servers and 11120 servers read from /gluetun/servers.json,
2021/12/05 22:02:52 INFO Alpine version: 3.14.3,
2021/12/05 22:02:52 INFO OpenVPN 2.4 version: 2.4.11,
2021/12/05 22:02:52 INFO OpenVPN 2.5 version: 2.5.2,
2021/12/05 22:02:52 INFO Unbound version: 1.13.2,
2021/12/05 22:02:52 INFO IPtables version: v1.8.7,
2021/12/05 22:02:52 INFO Settings summary below:,
|--VPN:,
|--Type: openvpn,
|--OpenVPN:,
|--Version: 2.5,
|--Verbosity level: 1,
|--Network interface: tun0,
|--Run as root: enabled,
|--Encryption preset: strong,
|--Private Internet Access settings:,
|--Regions: us east,
|--OpenVPN selection:,
|--Protocol: udp,
|--PIA encryption preset: strong,
|--DNS:,
|--Plaintext address: 1.1.1.1,
|--DNS over TLS:,
|--Unbound:,
|--DNS over TLS providers:,
|--Cloudflare,
|--Listening port: 53,
|--Access control:,
|--Allowed:,
|--0.0.0.0/0,
|--::/0,
|--Caching: enabled,
|--IPv4 resolution: enabled,
|--IPv6 resolution: disabled,
|--Verbosity level: 1/5,
|--Verbosity details level: 0/4,
|--Validation log level: 0/2,
|--Username: ,
|--Blacklist:,
|--Blocked categories: malicious,
|--Additional IP networks blocked: 13,
|--Update: every 24h0m0s,
|--Firewall:,
|--Outbound subnets: 10.11.13.0/24,
|--Log:,
|--Level: INFO,
|--System:,
|--Process user ID: 1000,
|--Process group ID: 1000,
|--Timezone: america/new_york,
|--Health:,
|--Server address: 127.0.0.1:9999,
|--Address to ping: github.com,
|--VPN:,
|--Initial duration: 6s,
|--Addition duration: 5s,
|--HTTP control server:,
|--Listening port: 8000,
|--Logging: enabled,
|--Public IP getter:,
|--Fetch period: 12h0m0s,
|--IP file: /tmp/gluetun/ip,
|--Github version information: enabled,
2021/12/05 22:02:52 INFO routing: default route found: interface eth0, gateway 172.17.0.1,
2021/12/05 22:02:52 INFO routing: local ethernet link found: eth0,
2021/12/05 22:02:52 INFO routing: local ipnet found: 172.17.0.0/16,
2021/12/05 22:02:52 INFO routing: default route found: interface eth0, gateway 172.17.0.1,
2021/12/05 22:02:52 INFO routing: adding route for 0.0.0.0/0,
2021/12/05 22:02:52 INFO firewall: firewall disabled, only updating allowed subnets internal list,
2021/12/05 22:02:52 INFO routing: default route found: interface eth0, gateway 172.17.0.1,
2021/12/05 22:02:52 INFO routing: adding route for 10.11.13.0/24,
2021/12/05 22:02:52 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...,
2021/12/05 22:02:52 INFO firewall: enabling...,
2021/12/05 22:02:52 INFO routing cleanup...,
2021/12/05 22:02:52 INFO routing: default route found: interface eth0, gateway 172.17.0.1,
2021/12/05 22:02:52 INFO routing: deleting route for 0.0.0.0/0,
2021/12/05 22:02:52 INFO routing: deleting route for 10.11.13.0/24,
2021/12/05 22:02:52 ERROR failed enabling firewall: cannot enable firewall: cannot set iptables policies: failed iptables command "iptables --policy INPUT DROP": modprobe: can't change directory to '/lib/modules': No such file or directory,
iptables v1.8.7 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?),
Perhaps iptables or your kernel needs to be upgraded.: exit status 3,
2021/12/05 22:02:52 INFO Shutdown successful
Share your configuration
docker run -d \
--name=gluetun \
--cap-add=NET_ADMIN \
-e VPNSP="private internet access" \
-e OPENVPN_USER=* \
-e OPENVPN_PASSWORD=* \
-e REGION="US East" \
-e TZ=America/New_York \
-e FIREWALL_OUTBOUND_SUBNETS=192.168.0.0/24 \
-e FIREWALL_OUTBOUND_SUBNETS=10.11.13.0/24 \
-p 8888:8888/tcp \
-p 8388:8388/tcp \
-p 8388:8388/udp \
-p 3030:3030/tcp \
-p 6881:6881/tcp \
-p 6881:6881/udp \
-p 7878:7878/tcp \
-p 8080:8080/tcp \
-p 8686:8686/tcp \
-p 8989:8989/tcp \
-p 9117:9117/tcp \
-v /mnt/gluetun:/gluetun \
--restart unless-stopped \
qmcgaw/gluetun:latest
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 31 (15 by maintainers)
wanting to add to this, it was resolved for me swapping over to docker (and docker-compose) instead of using podman (and podman-compose)