[Update: issue resolved via this FAQ entry:
Q13. I can see from the '/config/supervisord.log' file that the openvpn process keeps getting killed every 30 seconds on my QNAP appliance, what could be the cause of this?
A13. For some reason (unknown at this time) QNAP decided to kill any openvpn process running on the host by adding in a line to the 'daemon_mgr.conf' file. In order to prevent this you need to delete the following line from the 'daemon_mgr.conf':-
DAEMONxx = openvpn, stop, /usr/sbin/openvpn
Where xx will be 2 random digits.
Additional note: found instructions on how to use WinSCP to edit the daemon_mgr.conf file on QNAP here: https://forum.qnap.com/viewtopic.php?t=117004#p519883
end update.]
Hi, been working through setting up DelugeVPN in a Docker container on QNAP. Have it basically working, but get occasional errors. Using this script:
docker run \
--cap-add=NET_ADMIN \
-p 8112:8112 \
-p 8118:8118 \
-p 58846:58846 \
-p 58946:58946 \
--name=delugevpn \
-v /share/CACHEDEV1_DATA/appdata/delugevpn/data:/data \
-v /share/CACHEDEV1_DATA/appdata/delugevpn/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e VPN_USER=[removed] \
-e VPN_PASS=[rempved] \
-e VPN_PROV=torguard \
-e STRICT_PORT_FORWARD=yes \
-e ENABLE_PRIVOXY=yes \
-e LAN_NETWORK=192.168.1.0/24 \
-e NAME_SERVERS=209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4 \
-e DELUGE_DAEMON_LOG_LEVEL=info \
-e DELUGE_WEB_LOG_LEVEL=info \
-e DEBUG=false \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-delugevpn
I seem to get it running, and it does connect through VPN and show the right VPN external IP address. However, I regularly see this error:
2019-01-29 11:09:20,815 DEBG 'start-script' stdout output:
Tue Jan 29 11:09:20 2019 ERROR: Linux route add command failed: external program exited with error status: 2
Is this something of concern?
Possibly related, when I go to the Privoxy port (8118), a web page loads but I only see this error message: "Invalid header received from client."
Appreciate any feedback or assistance, with thanks!