Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ERROR no iptables supported found: from iptables, iptables-nft: last error is: iptables: Failed to initialize nft: Protocol not supported (exit status 1) #1062

Closed
Macmee opened this issue Jul 13, 2022 · 3 comments
Labels
Closed: ⚰️ Inactive No answer was received for weeks

Comments

@Macmee
Copy link

Macmee commented Jul 13, 2022

Is this urgent?

Yes

Host OS

MacOS

CPU arch

x86_64

VPN service provider

TorGuard

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2022-07-04T00:42:53.696Z (commit a4c80b3)

What's the problem 🤔

The container crashes with TorGuard now using this error:

iptables-nft: last error is: iptables: Failed to initialize nft: Protocol not supported (exit status 1)

The same config worked a few months ago

Share your logs

scrapers-vpn3-1          | Running version latest built on 2022-07-04T00:42:53.696Z (commit a4c80b3)
scrapers-vpn3-1          |
scrapers-vpn3-1          | 🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
scrapers-vpn3-1          | 🐛 Bug? https://github.com/qdm12/gluetun/issues/new
scrapers-vpn3-1          | ✨ New feature? https://github.com/qdm12/gluetun/issues/new
scrapers-vpn3-1          | ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
scrapers-vpn3-1          | 💻 Email? quentin.mcgaw@gmail.com
scrapers-vpn3-1          | 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
scrapers-vpn3-1          | 2022-07-13T19:55:16Z INFO [routing] default route found: interface eth0, gateway 172.18.0.1 and assigned IP 172.18.0.2
scrapers-vpn3-1          | 2022-07-13T19:55:16Z INFO [routing] local ethernet link found: eth0
scrapers-vpn3-1          | 2022-07-13T19:55:16Z INFO [routing] local ipnet found: 172.18.0.0/16
scrapers-coordinator3-1  | [Wed Jul 13 19:55:16 2022] PHP 7.4.30 Development Server (http://0.0.0.0:80) started
scrapers-vpn3-1          | 2022-07-13T19:55:16Z ERROR no iptables supported found: from iptables, iptables-nft: last error is: iptables: Failed to initialize nft: Protocol not supported (exit status 1)
scrapers-vpn3-1          | 2022-07-13T19:55:16Z INFO Shutdown successful
scrapers-vpn3-1 exited with code 1

Share your configuration

vpn3:
    image: qmcgaw/gluetun
    environment:
      HTTPPROXY: "on"
      VPN_SERVICE_PROVIDER: "custom"
      VPN_TYPE: "openvpn"
      OPENVPN_CUSTOM_CONFIG: "/vpn.conf"
      OPENVPN_USER: "YYYYYY"
      OPENVPN_PASSWORD: "XXXXX"
    volumes:
      - ./vpns/3.ovpn:/vpn.conf:rw
    ports:
      - 5803:5800
      - 8888:8888
    cap_add:
      - NET_ADMIN
@qdm12
Copy link
Owner

qdm12 commented Jul 14, 2022

Please try

docker run -it --rm alpine:3.16
apk add iptables
iptables -L
# error should show
exit

How does this fail?

@qdm12
Copy link
Owner

qdm12 commented May 1, 2024

Closing due to inactivity

@qdm12 qdm12 closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
Copy link
Contributor

github-actions bot commented May 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: ⚰️ Inactive No answer was received for weeks
Projects
None yet
Development

No branches or pull requests

2 participants