DyonR / docker-Jackettvpn

Docker container which runs a headless Jackett Server with an optional WireGuard or OpenVPN connection
https://hub.docker.com/r/dyonr/jackettvpn/
GNU General Public License v3.0
68 stars 32 forks source link

ip-tables failure #75

Open jeffp92 opened 1 year ago

jeffp92 commented 1 year ago

Hello, I have been trying to get jackettvpn up and running with no success. I am receiving this error;

"2023-03-30 09:28:04.924927 [WARNING] VPN_ENABLED not defined,(via -e VPN_ENABLED), defaulting to 'yes' iptables/1.8.7 Failed to initialize nft: Protocol not supported"

If I run "iptables -V" at root is comes back and says i have *iptables v1.8.4 (legacy)**

Below are my options for when it was installed. $ docker run --privileged -d \ -v /share/Docker/Jackettvpn/config/:/config \ -v /share/Docker/Jackettvpn/blackhole/:/blackhole \ -e "VPN_ENABLED=yes" \ -e "VPN_TYPE= openvpn” \
-e "LAN_NETWORK=192.168.1.0/24" \ -p 9117:9117 \ --restart unless-stopped \ dyonr/jackettvpn

I have the credentials.conf in the binder directory shown above under the openvpn folder in config.

Do you have any thoughts on what needs to be done to get this up and running?

Thank you for your assistance.

andrewjameshough commented 1 year ago

Have you tried with the additional env value:

-e "LEGACY_IPTABLES=yes"

This might help your cause. Also this might only be available on the dev branch.