qdm12 / gluetun

VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
https://hub.docker.com/r/qmcgaw/gluetun
MIT License
7.45k stars 350 forks source link

Bug: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument #2255

Closed giorgiooriani closed 4 months ago

giorgiooriani commented 4 months ago

Is this urgent?

No

Host OS

Synology DSM 7.2

CPU arch

x86_64

VPN service provider

NordVPN

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-05-02T09:21:40.587Z (commit 6dd27e5)

What's the problem 🤔

gluetun instantly shuts down when I start the container

Share your logs (at least 10 lines)

========================================
========================================
=============== gluetun ================
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================
Running version latest built on 2024-05-02T09:21:40.587Z (commit 6dd27e5)
🔧 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
2024-05-02T14:11:52Z INFO [routing] default route found: interface eth0, gateway 10.0.5.1, assigned IP 10.0.5.19 and family v4
2024-05-02T14:11:52Z INFO [routing] local ethernet link found: eth0
2024-05-02T14:11:52Z INFO [routing] local ipnet found: 10.0.5.0/24
2024-05-02T14:11:52Z ERROR no iptables supported found: errors encountered are: iptables-nft: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument (exit status 4); iptables: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument (exit status 4)
2024-05-02T14:11:52Z INFO Shutdown successful

Share your configuration

version: "3"
services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    networks:  
      - media_bridge
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - /volume1/configs/gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=nordvpn
      - VPN_TYPE=openvpn # or wireguard
      - OPENVPN_USER=[username]
      - OPENVPN_PASSWORD=[password]
      - SERVER_COUNTRIES=Switzerland
      - TZ:Europe/Rome
      - PUID:[puid]
      - PGID:[guid]
github-actions[bot] commented 4 months ago

@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:

TrishenSuresh commented 4 months ago

Having the same issue as well using Synology

giorgiooriani commented 4 months ago

2256 fixes it for me, using :v3.38 instead of :latest

johnwyles commented 4 months ago

Confirmed. Change your docker image from qmcgaw/gluetun:latest or qmcgaw/gluetun to qmcgaw/gluetun:v3 for a temporary workaround.

qdm12 commented 4 months ago

Please subscribe to issue #2256 and let's continue the conversation there 😉

github-actions[bot] commented 4 months ago

Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.

This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.