Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Unrecognized option or missing or extra parameter(s) in /data/vpn/passfile.conf.modified #61

Open
gratefulbread opened this issue May 4, 2022 · 1 comment

Comments

@gratefulbread
Copy link

I'm getting the following error when I try to start the container.

Unrecognized option or missing or extra parameter(s) in /data/vpn/passfile.conf.modified:1: (redacted PIA username) (2.5.6)

my compose file:

version: '3'

services:
  vpn:
    image: ghcr.io/wfg/openvpn-client
    privileged: true
    container_name: openvpn-client
    cap_add: 
      - NET_ADMIN
    devices: 
      - /dev/net/tun:/dev/net/tun
    environment:
      - SUBNETS=192.168.1.0/24
      - HTTP_PROXY=on
      - SOCKS_PROXY=on
      volumes: 
      - /share/Docker/ovpn/config:/data/vpn

my conf

client
dev tun
proto udp
remote us-california.privacy.network 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-gcm
ncp-disable
tls-client
remote-cert-tls server

auth-user-pass passfile
compress
verb 1
reneg-sec 0
<crl-verify>
-----BEGIN X509 CRL-----
xxxxx
-----END X509 CRL-----
</crl-verify>

<ca>
-----BEGIN CERTIFICATE-----
xxxxx
-----END CERTIFICATE-----
</ca>

disable-occ
@vmarmot
Copy link

vmarmot commented May 5, 2022

Must have something to do with TinyProxy , as I get the same error only when I try to enable the HTTP_PROXY . If you just use the SOCKS_PROXY, and disable HTTP_PROXY, the error goes away and socks proxy works as expected. Also there is a typo in the Docs : KEEP_DNS_UNCHAGED should be KEEP_DNS_UNCHANGED in order for that option to work. :)

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

No branches or pull requests

2 participants