How do I add a container with different tag...?

  • I figured it out. I used a command line and did it by doing this. It is under OPENVPN_OPTS. Note that I am using vpnunlimited. I also got the .ovpn file from my provider and created the ca.crt, client.crt and client.key file.


    I am still trying to fix the error due to "AEAD Decrypt error: bad packet ID (may be a replay): [ #2052376 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings" Not sure what is the correct setting for mssfix issue.


    sudo docker run -d \
    --name Openvpn \
    --cap-add=NET_ADMIN \
    --network=mynet \
    --dns 8.8.8.8 \
    --dns 8.8.4.4 \
    --restart=unless-stopped \
    -v /srv/dev-disk-by-label-HDA/AppData/Openvpn:/config \
    -v /etc/openvpn/vpnunlimited/default.ovpn:/etc/openvpn/vpnunlimited/default.ovpn \
    -v /srv/dev-disk-by-label-HDA/Downloads:/data \
    -v /etc/localtime:/etc/localtime:ro \
    -e CREATE_TUN_DEVICE=true \
    -e PUID=1000 \
    -e PGID=100 \
    -e OPENVPN_PROVIDER=VPNUNLIMITED \
    -e OPENVPN_CONFIG=(your config) \
    -e OPENVPN_USERNAME=(your email) \
    -e OPENVPN_PASSWORD=(your password) \
    -e OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60" \
    -e WEBPROXY_ENABLED=true \
    -e TUN_MTU=1500 \
    -e MSSFIX=1300 \
    -e LOCAL_NETWORK=192.168.0.0/24 \
    -p 9091:9091 \
    haugene/transmission-openvpn:latest-armhf

  • I mean do you need to sudo the docker command? I don't have to do that and I am logged in as an ordinary user. All my dockers run as that user.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 16GB ECC RAM.

    Edited once, last by gderf ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!