cenk1cenk2 / docker-softether-vpnsrv

SoftEther VPN Server with DNSMASQ DHCP Server or bridge mode connection for VPN-to-site setup.
29 stars 15 forks source link

Error after update to latest version #40

Open groggy99 opened 5 months ago

groggy99 commented 5 months ago

Hi, after updating to latest version I got the following error and the container won't start:

[W] [postrouting] Warning: Extension MASQUERADE revision 0 not supported, missing kernel module? [W] [postrouting] iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument [E] [postrouting] [FAIL] $ iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE > exit status 4 [E] [postrouting] exit status 4 [F] [postrouting] exit status 4

Can you please help?

Docker version 20.10.22-qnap7, build 57ed8b8 on QNAP QTS QTS 5.1.5.2645 Container Station Version 3.0.5.623 ( 2023/09/12 )

cenk1cenk2 commented 5 months ago

Dear @groggy99,

If it was working before at the given QNAP system and not anymore then I would suggest if you recently update your kernel just reboot the machine.

Else you might be missing the necassary modules since QNAP would have a stripped version of the kernel, but not really sure.

groggy99 commented 5 months ago

Hi @cenk1cenk2 ,

thanks for your quick reply.

Hello @cenk1cenk2, thank you for your quick answer. I still have the old container (installed on 2023-11-11). I don't understand why this old container works and the new version doesn't. Both are on the same system.

I also tested the latest Ubuntu version. The kernel error is gone. But the iptables error remains:

docker-softether-vpnsrv - BUILD.20240206Z1552

[I] [conf:softether] Persistent configuration file found: /conf/vpn_server.config [W] [postrouting] iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument [W] [post routing] [E] [postrouting] [FAIL] $ iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE > exit status 4 [E] [postrouting] exit status 4 [F] [postrouting] exit status 4

Any ideas?