We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No
Artix Linux
x86_64
Surfshark
docker-compose
gluetun | Running version latest built on 2023-05-22T08:07:35.526Z (commit 3100cc1)
The issue described here: https://github.com/qdm12/gluetun/wiki/TUN-device-errors#cannot-create-tun-device-file-node-file-exists But the fixes here: #884 didn't fix it, it appears the be the same issue that @trentwiles is having. The logs are attached. And here is ls -l /dev/net on my host machine:
ls -l /dev/net
crw-rw-rw- 1 root root 10, 200 Apr 20 23:34 tun
I'm running docker compose as sudo, I also tried as the root user, but the both fail the the same above logs
gluetun | ======================================== gluetun | ======================================== gluetun | =============== gluetun ================ gluetun | ======================================== gluetun | =========== Made with ❤ by ============ gluetun | ======= https://github.com/qdm12 ======= gluetun | ======================================== gluetun | ======================================== gluetun | gluetun | Running version latest built on 2023-05-22T08:07:35.526Z (commit 3100cc1) gluetun | gluetun | 🔧 Need help? https://github.com/qdm12/gluetun/discussions/new gluetun | 🐛 Bug? https://github.com/qdm12/gluetun/issues/new gluetun | ✨ New feature? https://github.com/qdm12/gluetun/issues/new gluetun | ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new gluetun | 💻 Email? quentin.mcgaw@gmail.com gluetun | 💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12 gluetun | 2023-05-24T05:34:46Z INFO [routing] default route found: interface eth0, gateway 172.22.0.1, assigned IP 172.22.0.2 and family v4 gluetun | 2023-05-24T05:34:46Z INFO [routing] local ethernet link found: eth0 gluetun | 2023-05-24T05:34:46Z INFO [routing] local ipnet found: 172.22.0.0/16 gluetun | 2023-05-24T05:34:46Z INFO [firewall] enabling... gluetun | 2023-05-24T05:34:46Z INFO [firewall] enabled successfully gluetun | 2023-05-24T05:34:47Z INFO [storage] creating /gluetun/servers.json with 13056 hardcoded servers gluetun | 2023-05-24T05:34:47Z INFO Alpine version: 3.18.0 gluetun | 2023-05-24T05:34:47Z INFO OpenVPN 2.5 version: 2.5.8 gluetun | 2023-05-24T05:34:47Z INFO OpenVPN 2.6 version: 2.6.4 gluetun | 2023-05-24T05:34:47Z INFO Unbound version: 1.17.1 gluetun | 2023-05-24T05:34:47Z INFO IPtables version: v1.8.9 gluetun | 2023-05-24T05:34:47Z INFO Settings summary: gluetun | ├── VPN settings: gluetun | | ├── VPN provider settings: gluetun | | | ├── Name: surfshark gluetun | | | └── Server selection settings: gluetun | | | ├── VPN type: openvpn gluetun | | | ├── Regions: the americas gluetun | | | └── OpenVPN server selection settings: gluetun | | | └── Protocol: UDP gluetun | | └── OpenVPN settings: gluetun | | ├── OpenVPN version: 2.5 gluetun | | ├── User: [set] gluetun | | ├── Password: [set] gluetun | | ├── Network interface: tun0 gluetun | | ├── Run OpenVPN as: root gluetun | | └── Verbosity level: 1 gluetun | ├── DNS settings: gluetun | | ├── DNS server address to use: 127.0.0.1 gluetun | | ├── Keep existing nameserver(s): no gluetun | | └── DNS over TLS settings: gluetun | | ├── Enabled: yes gluetun | | ├── Update period: every 24h0m0s gluetun | | ├── Unbound settings: gluetun | | | ├── Authoritative servers: gluetun | | | | └── cloudflare gluetun | | | ├── Caching: yes gluetun | | | ├── IPv6: no gluetun | | | ├── Verbosity level: 1 gluetun | | | ├── Verbosity details level: 0 gluetun | | | ├── Validation log level: 0 gluetun | | | ├── System user: root gluetun | | | └── Allowed networks: gluetun | | | ├── 0.0.0.0/0 gluetun | | | └── ::/0 gluetun | | └── DNS filtering settings: gluetun | | ├── Block malicious: yes gluetun | | ├── Block ads: no gluetun | | ├── Block surveillance: no gluetun | | └── Blocked IP networks: gluetun | | ├── 127.0.0.1/8 gluetun | | ├── 10.0.0.0/8 gluetun | | ├── 172.16.0.0/12 gluetun | | ├── 192.168.0.0/16 gluetun | | ├── 169.254.0.0/16 gluetun | | ├── ::1/128 gluetun | | ├── fc00::/7 gluetun | | ├── fe80::/10 gluetun | | ├── ::ffff:127.0.0.1/104 gluetun | | ├── ::ffff:10.0.0.0/104 gluetun | | ├── ::ffff:169.254.0.0/112 gluetun | | ├── ::ffff:172.16.0.0/108 gluetun | | └── ::ffff:192.168.0.0/112 gluetun | ├── Firewall settings: gluetun | | └── Enabled: yes gluetun | ├── Log settings: gluetun | | └── Log level: INFO gluetun | ├── Health settings: gluetun | | ├── Server listening address: 127.0.0.1:9999 gluetun | | ├── Target address: cloudflare.com:443 gluetun | | ├── Duration to wait after success: 5s gluetun | | ├── Read header timeout: 100ms gluetun | | ├── Read timeout: 500ms gluetun | | └── VPN wait durations: gluetun | | ├── Initial duration: 6s gluetun | | └── Additional duration: 5s gluetun | ├── Shadowsocks server settings: gluetun | | └── Enabled: no gluetun | ├── HTTP proxy settings: gluetun | | └── Enabled: no gluetun | ├── Control server settings: gluetun | | ├── Listening address: :8000 gluetun | | └── Logging: yes gluetun | ├── OS Alpine settings: gluetun | | ├── Process UID: 1000 gluetun | | └── Process GID: 1000 gluetun | ├── Public IP settings: gluetun | | ├── Fetching: every 12h0m0s gluetun | | └── IP file path: /tmp/gluetun/ip gluetun | └── Version settings: gluetun | └── Enabled: yes gluetun | 2023-05-24T05:34:47Z INFO [routing] default route found: interface eth0, gateway 172.22.0.1, assigned IP 172.22.0.2 and family v4 gluetun | 2023-05-24T05:34:47Z INFO [routing] adding route for 0.0.0.0/0 gluetun | 2023-05-24T05:34:47Z INFO [firewall] setting allowed subnets... gluetun | 2023-05-24T05:34:47Z INFO [routing] default route found: interface eth0, gateway 172.22.0.1, assigned IP 172.22.0.2 and family v4 gluetun | 2023-05-24T05:34:47Z INFO TUN device is not available: open /dev/net/tun: no such device; creating it... gluetun | 2023-05-24T05:34:47Z INFO [routing] routing cleanup... gluetun | 2023-05-24T05:34:47Z INFO [routing] default route found: interface eth0, gateway 172.22.0.1, assigned IP 172.22.0.2 and family v4 gluetun | 2023-05-24T05:34:47Z INFO [routing] deleting route for 0.0.0.0/0 gluetun | 2023-05-24T05:34:47Z ERROR creating TUN device file node: file exists gluetun | 2023-05-24T05:34:47Z INFO Shutdown successful gluetun exited with code 0
--- version: '3' services: gluetun: image: qmcgaw/gluetun cap_add: - NET_ADMIN container_name: gluetun environment: - VPN_SERVICE_PROVIDER=surfshark - VPN_TYPE=openvpn - OPENVPN_USER=... - OPENVPN_PASSWORD=... - SERVER_REGIONS=The Americas ports: - 6881:6881 - 6882:80 restart: unless-stopped devices: - /dev/net/tun:/dev/net/tun
The text was updated successfully, but these errors were encountered:
See #1537 maybe you upgraded your kernel? Try rebooting?
Sorry, something went wrong.
Closing due to inactivity, feel free to re-create an issue if it persists.
No branches or pull requests
Is this urgent?
No
Host OS
Artix Linux
CPU arch
x86_64
VPN service provider
Surfshark
What are you using to run the container
docker-compose
What is the version of Gluetun
gluetun | Running version latest built on 2023-05-22T08:07:35.526Z (commit 3100cc1)
What's the problem 🤔
The issue described here: https://github.com/qdm12/gluetun/wiki/TUN-device-errors#cannot-create-tun-device-file-node-file-exists
But the fixes here: #884 didn't fix it, it appears the be the same issue that @trentwiles is having. The logs are attached.
And here is
ls -l /dev/net
on my host machine:I'm running docker compose as sudo, I also tried as the root user, but the both fail the the same above logs
Share your logs
Share your configuration
The text was updated successfully, but these errors were encountered: