Closed brego81 closed 1 year ago
@brego81 Hello! Please try loading the iptables kernel module on your Docker host, then re-create the Docker container.
Command: sudo modprobe ip_tables
This is mentioned in advanced usage for some Linux distributions: https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/master/docs/advanced-usage.md#run-without-privileged-mode
If you have further information feel free to continue to reply here.
@brego81 Alternatively, change the mount parameter in your "docker run" to:
-v /lib/modules:/lib/modules:ro
instead of the one in your command. Then re-create the Docker container. This will allow loading of the kernel module in the container.
Describe the issue When running the docker on fedora server 37 with default parameters i see the following error:
Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Vpn connection is established however I cannot browsing thebweb
To Reproduce Steps to reproduce the behavior:
Expected behavior After vpn connection you can browse the web
Logs iptables v1.8.8 (legacy): can't initialize iptables table
filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables table
filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables tablefilter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables table
nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. iptables v1.8.8 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.Starting IPsec service...
================================================
IPsec VPN server is now ready for use!
Connect to your new VPN with these details:
Server (please complete the following information)