Giter Site home page Giter Site logo

Comments (4)

Groofster avatar Groofster commented on August 11, 2024 1

I found out this is more a 'pebkac' kind of error. The syntax in docker-compose is slightly different from a normal docker run -e PARAMETER. Changing the OPENVPN_OPTS line to following made it happily accept it (it's all in the quotes):

environment:
- 'OPENVPN_OPTS=--mute-replay-warnings --mssfix 1432'

This (non) issue can be closed. Thanx for your time, sorry to have bothered you with my personal f-up.

from nordvpn.

bubuntux avatar bubuntux commented on August 11, 2024 1

Thanks for reporting the issue, i'll fix the documentation to make it more clear

from nordvpn.

bubuntux avatar bubuntux commented on August 11, 2024

the order of the parameters shouldn't matter, can you provide logs and command line used?

from nordvpn.

Groofster avatar Groofster commented on August 11, 2024

docker-compose.yaml

version: '3.5'

services:
nordvpn:
image: "bubuntux/nordvpn"
container_name: nordvpn
restart: unless-stopped
stdin_open: true
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=Europe/Amsterdam
- USER=
- PASS=
- COUNTRY=Netherlands;
- NETWORK=10.10.1.0/24
- CATEGORY=P2P
- OPENVPN_OPTS='--mute-replay-warnings --mssfix 1432'

Gives me the following error and a restarting container:

Connecting ( '--mute-replay-warnings --mssfix 1432' )...
Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: mute-replay-warnings --mssfix 1432 (2.4.6)

Swithing the OPENVPN_OPTS gives the following error:

Connecting ( ' --mssfix 1432 --mute-replay-warnings' )...
Options error: the --down directive should have at most 1 parameter. To pass a list of arguments as one of the parameters, try enclosing them in double quotes ("").

from nordvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.