Skip to content

Bug: host is not an IP address in custom configuration #2769

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

Open
stauffenberg2020 opened this issue Apr 7, 2025 · 3 comments
Open

Bug: host is not an IP address in custom configuration #2769

stauffenberg2020 opened this issue Apr 7, 2025 · 3 comments

Comments

@stauffenberg2020
Copy link

Is this urgent?

Yes

Host OS

Synology NAS

CPU arch

x86_64

VPN service provider

Custom

What are you using to run the container

Portainer

What is the version of Gluetun

3.40

What's the problem 🤔

I get the following error when trying to run in custom configuration.

2025-04-07T08:32:24Z ERROR VPN settings: OpenVPN settings: custom configuration file: extracting information from custom configuration file: extracting connection from file: on line 6: extracting from remote line: host is not an IP address: india-uk-ca-version-2.expressnetw.com

Share your logs (at least 10 lines)

Running version v3.40.0 built on 2024-12-25T22:01:25.675Z (commit e890c50)

🔧 Need help? ☕ Discussion? https://github.com/qdm12/gluetun/discussions/new/choose

🐛 Bug? ✨ New feature? https://github.com/qdm12/gluetun/issues/new/choose

💻 Email? quentin.mcgaw@gmail.com

💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12

2025-04-07T08:32:23Z INFO [routing] default route found: interface eth0, gateway 172.18.0.1, assigned IP 172.18.0.2 and family v4

2025-04-07T08:32:23Z INFO [routing] local ethernet link found: eth0

2025-04-07T08:32:23Z INFO [routing] local ipnet found: 172.18.0.0/16

2025-04-07T08:32:23Z INFO [firewall] enabling...

2025-04-07T08:32:23Z INFO [firewall] enabled successfully

2025-04-07T08:32:24Z INFO [storage] creating /gluetun/servers.json with 20776 hardcoded servers

2025-04-07T08:32:24Z ERROR VPN settings: OpenVPN settings: custom configuration file: extracting information from custom configuration file: extracting connection from file: on line 6: extracting from remote line: host is not an IP address: india-uk-ca-version-2.expressnetw.com

2025-04-07T08:32:24Z INFO Shutdown successful

Share your configuration

services:
  gluetun:
    image: qmcgaw/gluetun:v3.40 #v3.39.1
    container_name: vpn
    cap_add:
      - NET_ADMIN
    volumes:
      - /volume1/docker/gluetun/my_expressvpn_india_via_uk_udp.ovpn:/gluetun/custom.conf:ro
    environment:
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=openvpn
      - OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf
      - OPENVPN_USER=xyz
      - OPENVPN_PASSWORD=xyz
    ports:
      - 8183:8183 # for qBittorrent webUI
    #restart: unless-stopped
Copy link
Contributor

github-actions bot commented Apr 7, 2025

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

@stauffenberg2020
Copy link
Author

I have to use custom configuration due to the unresolved issue highlighted in #2492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant