siomiz / SoftEtherVPN

A Docker Automated Build Repository for SoftEther VPN
https://hub.docker.com/r/siomiz/softethervpn/
MIT License
454 stars 174 forks source link

Error in log: can't initialize iptables table `filter' #80

Closed nOrphf closed 4 years ago

nOrphf commented 4 years ago

Hi

Running you awesome image on my Synology, but keeps getting the following error in the log:

iptables v1.4.21: can't initialize iptables table `filter': Permission denied (you must be root) Perhaps iptables or your kernel needs to be upgraded.

I that because I need to activate "Execute the container using high privileges" ?

Regards Lars

siomiz commented 4 years ago

As your error log should also state: # [!!] This image requires --cap-add NET_ADMIN

Give it the NET_ADMIN capability or run as root/privileged if your particular environment doesn't allow you to fine-tune the Linux capabilities for Docker (probably the case for Synology).

luthfi-hh commented 1 year ago

@siomiz If I remove the iptables package from the Dockerfile, will SoftEther still work?